Thanks! Just what I needed! Will try this today.

On Wed, Aug 18, 2010 at 8:29 PM, Heshan Suriyaarachchi <[email protected]>wrote:

> Hi Brad,
>              I have written a blogpost [1] on how to build WSO2 ESB from
> source. It might help you to understand the build order and why we need to
> build the projects in that order.
>
> [1] - http://heshans.blogspot.com/2010/06/build-wso2-esb-from-source.html
>
>
> On Thu, Aug 19, 2010 at 5:17 AM, Samisa Abeysinghe <[email protected]>wrote:
>
>> The correct URL for identity server is
>>  https://svn.wso2.org/repos/wso2/trunk/carbon/products/is
>>
>> We have re-organized all our products etc. around our base Carbon platform
>> in the source tree.
>>
>> If you checkout  https://svn.wso2.org/repos/wso2/trunk/carbon/ you will
>> get the source for the whole platform.
>>
>> If you want to build everything from scratch, the build order is:
>>
>> dependencies
>> orbit
>> core
>> components
>> features
>> products
>>
>> Rather than building everything, please first try building the product.
>>
>> Thanks,
>> Samisa...
>>
>> On Thu, Aug 19, 2010 at 5:06 AM, Brad Cox <[email protected]> wrote:
>>
>>> I think I've tried everything by now; building the whole thing, pieces,
>>> etc. I just need to know a URL that actually builds. In particular, what svn
>>> url should I be checking out?
>>>
>>> For example, I got this URL from a BUILDING file I'd checked out earlier.
>>> imac:wso2-is Brad$ svn co
>>> https://svn.wso2.org/repos/wso2/trunk/solutions/identity wso2-identity
>>> svn: URL 'https://svn.wso2.org/repos/wso2/trunk/solutions/identity'
>>> doesn't exist
>>>
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Failed to resolve artifact.
>>>
>>> Missing:
>>> ----------
>>> 1) org.wso2.carbon:org.wso2.carbon.ui:jar:3.0.0-SNAPSHOT
>>>
>>>   Try downloading the file manually from the project website.
>>>
>>>   Then, install it using the command:
>>>       mvn install:install-file -DgroupId=org.wso2.carbon
>>> -DartifactId=org.wso2.carbon.ui -Dversion=3.0.0-SNAPSHOT -Dpackaging=jar
>>> -Dfile=/path/to/file
>>>
>>>   Alternatively, if you host your own repository you can deploy the file
>>> there:
>>>       mvn deploy:deploy-file -DgroupId=org.wso2.carbon
>>> -DartifactId=org.wso2.carbon.ui -Dversion=3.0.0-SNAPSHOT -Dpackaging=jar
>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>
>>>   Path to dependency:
>>>         1)
>>> org.wso2.identity:org.wso2.identity.styles:bundle:3.0.0-SNAPSHOT
>>>         2) org.wso2.carbon:org.wso2.carbon.ui:jar:3.0.0-SNAPSHOT
>>>
>>> ----------
>>> 1 required artifact is missing.
>>>
>>> for artifact:
>>>   org.wso2.identity:org.wso2.identity.styles:bundle:3.0.0-SNAPSHOT
>>>
>>> from the specified remote repositories:
>>>   central (http://repo1.maven.org/maven2),
>>>   wso2-maven2-repo (http://dist.wso2.org/maven2),
>>>   apache-ws-snapshots2 (http://ws.zones.apache.org/repository2),
>>>   apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository
>>> ),
>>>   jboss (http://repository.jboss.org/maven2)
>>>
>>>
>>>
>>> On Wed, Aug 18, 2010 at 7:24 PM, Samisa Abeysinghe <[email protected]>wrote:
>>>
>>>> I see that you are trying to build only the product. I have not tried
>>>> this as of late. I usually build the whole thing.
>>>>
>>>> However. given that we have snapshots in the repo, this is supposed to
>>>> work. But there might be a bug somewhere.
>>>>
>>>> Will have a look.
>>>>
>>>> On Thu, Aug 19, 2010 at 2:43 AM, Brad Cox <[email protected]> wrote:
>>>>
>>>>> Tried again from home, this time with a different base:
>>>>>
>>>>> svn co https://wso2.org/repos/wso2/trunk/carbon/products/is/ wso2-is
>>>>>
>>>>> mvn package (see below)
>>>>>
>>>>> I'm guessing the problem is that I'm guessing at what I need. Keep
>>>>> getting such huge directories that neither Netbeans nor I can handle the
>>>>> confusion.
>>>>>
>>>>> What I need is quite simple; a sample PEP and PDP with relevant WSDLs,
>>>>> that I can use as a model for building a new PDP. Could you point me to 
>>>>> the
>>>>> right root for this? Thanks!
>>>>>
>>>>> [ERROR] BUILD ERROR
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Failed to resolve artifact.
>>>>>
>>>>> Missing:
>>>>> ----------
>>>>>  1) org.wso2.carbon:org.wso2.carbon.ui:jar:3.0.0-SNAPSHOT
>>>>>
>>>>>   Try downloading the file manually from the project website.
>>>>>
>>>>>   Then, install it using the command:
>>>>>       mvn install:install-file -DgroupId=org.wso2.carbon
>>>>> -DartifactId=org.wso2.carbon.ui -Dversion=3.0.0-SNAPSHOT -Dpackaging=jar
>>>>> -Dfile=/path/to/file
>>>>>
>>>>>   Alternatively, if you host your own repository you can deploy the
>>>>> file there:
>>>>>       mvn deploy:deploy-file -DgroupId=org.wso2.carbon
>>>>> -DartifactId=org.wso2.carbon.ui -Dversion=3.0.0-SNAPSHOT -Dpackaging=jar
>>>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>>>
>>>>>   Path to dependency:
>>>>>         1)
>>>>> org.wso2.identity:org.wso2.identity.styles:bundle:3.0.0-SNAPSHOT
>>>>>         2) org.wso2.carbon:org.wso2.carbon.ui:jar:3.0.0-SNAPSHOT
>>>>>
>>>>> ----------
>>>>> 1 required artifact is missing.
>>>>>
>>>>> for artifact:
>>>>>   org.wso2.identity:org.wso2.identity.styles:bundle:3.0.0-SNAPSHOT
>>>>>
>>>>> from the specified remote repositories:
>>>>>   central (http://repo1.maven.org/maven2),
>>>>>   wso2-maven2-repo (http://dist.wso2.org/maven2),
>>>>>   apache-ws-snapshots2 (http://ws.zones.apache.org/repository2),
>>>>>   apache-snapshots (
>>>>> http://people.apache.org/repo/m2-snapshot-repository),
>>>>>   jboss (http://repository.jboss.org/maven2)
>>>>>
>>>>>
>>>>> On Wed, Aug 18, 2010 at 3:13 PM, Samisa Abeysinghe <[email protected]>wrote:
>>>>>
>>>>>> The problem that you are facing used to be there sometime back.
>>>>>> However, now it is fixed. Could you please svn up and try again?
>>>>>>
>>>>>>
>>>>>> On Thu, Aug 19, 2010 at 12:39 AM, Brad Cox <[email protected]>wrote:
>>>>>>
>>>>>>> WSO2 Carbon. Yes, latest trunk.
>>>>>>>
>>>>>>> The older checkout was WSO2 identity server. Same problem.
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Aug 18, 2010 at 2:36 PM, Samisa Abeysinghe 
>>>>>>> <[email protected]>wrote:
>>>>>>>
>>>>>>>> What are you trying to build? Source from latest trunk?
>>>>>>>>
>>>>>>>>  On Wed, Aug 18, 2010 at 11:22 PM, Brad Cox <[email protected]>wrote:
>>>>>>>>
>>>>>>>>> Source builds with maven all fail as follows:
>>>>>>>>>
>>>>>>>>> NetBeans:      JAVA_HOME=C:\Program Files\Java\jdk1.6.0_20
>>>>>>>>> Scanning for projects...
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> [ERROR]BUILD FAILURE
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> Project 'org.wso2.carbon:org.wso2.carbon.cluster.mgt.core' is
>>>>>>>>> duplicated in the reactor
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> For more information, run Maven with the -e switch
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>> Total time: 53 seconds
>>>>>>>>> Finished at: Wed Aug 18 13:36:40 EDT 2010
>>>>>>>>> Final Memory: 96M/247M
>>>>>>>>>
>>>>>>>>> Happens with an old copy from several weeks ago and a fresh copy
>>>>>>>>> made today to get around this.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Cell: 703-594-1883
>>>>>>>>> Blog: http://bradjcox.blogspot.com
>>>>>>>>> Web: http://virtualschool.edu
>>>>>>>>> Manassas VA 20111
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Esb-java-user mailing list
>>>>>>>>> [email protected]
>>>>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>> Samisa...
>>>>>>>>
>>>>>>>> Samisa Abeysinghe
>>>>>>>> VP Engineering
>>>>>>>> WSO2 Inc.
>>>>>>>> http://wso2.com
>>>>>>>> http://wso2.org
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Esb-java-user mailing list
>>>>>>>> [email protected]
>>>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Cell: 703-594-1883
>>>>>>> Blog: http://bradjcox.blogspot.com
>>>>>>> Web: http://virtualschool.edu
>>>>>>> Manassas VA 20111
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Esb-java-user mailing list
>>>>>>> [email protected]
>>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>>>>>
>>>>>>> Thanks,
>>>>>> Samisa...
>>>>>>
>>>>>> Samisa Abeysinghe
>>>>>> VP Engineering
>>>>>> WSO2 Inc.
>>>>>> http://wso2.com
>>>>>> http://wso2.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Esb-java-user mailing list
>>>>>> [email protected]
>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Cell: 703-594-1883
>>>>> Blog: http://bradjcox.blogspot.com
>>>>> Web: http://virtualschool.edu
>>>>> Manassas VA 20111
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Esb-java-user mailing list
>>>>> [email protected]
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>>>
>>>>> Thanks,
>>>> Samisa...
>>>>
>>>> Samisa Abeysinghe
>>>> VP Engineering
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>> http://wso2.org
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Esb-java-user mailing list
>>>> [email protected]
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>>
>>>>
>>>
>>>
>>> --
>>> Cell: 703-594-1883
>>> Blog: http://bradjcox.blogspot.com
>>> Web: http://virtualschool.edu
>>> Manassas VA 20111
>>>
>>>
>>> _______________________________________________
>>> Esb-java-user mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>>
>>> Thanks,
>> Samisa...
>>
>> Samisa Abeysinghe
>> VP Engineering
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>>
>>
>>
>>
>> _______________________________________________
>> Esb-java-user mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>>
>>
>
>
> --
> Regards,
> Heshan Suriyaarachchi
> Software Engineer
> WSO2 Inc.; http://wso2.com/
>
> Blog: http://heshans.blogspot.com/
>
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>


-- 
Cell: 703-594-1883
Blog: http://bradjcox.blogspot.com
Web: http://virtualschool.edu
Manassas VA 20111
_______________________________________________
Esb-java-user mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to