Please take a look at the ant-run task in the pom.xml. It actually calls
this build.xml.

<exec dir="${basedir}/java" executable="ant" failonerror="true"></exec>

Danushka

On Tue, Feb 1, 2011 at 4:16 PM, Sumedha Rubasinghe <[email protected]> wrote:

>
>
> On Tue, Feb 1, 2011 at 4:12 PM, Sumedha Rubasinghe <[email protected]>wrote:
>
>>
>>
>> On Tue, Feb 1, 2011 at 3:40 PM, Danushka Menikkumbura 
>> <[email protected]>wrote:
>>
>>> What does your alias b stand for?. It looks as if it did not build but
>>> just tried to install.
>>>
>>
>> qpid$ alias b
>> alias b='mvn clean install -Dmaven.test.skip=true -o'
>>
>
> Well.. the reason is... build.xml inside [1] does not get called. It's
> inside this build.xml the build/lib folder gets created.
> /sumedha
>
> [1] https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/qpid/java
>
>>
>>
>> /sumedha
>>
>>
>>>
>>> Danushka
>>>
>>>
>>> On Tue, Feb 1, 2011 at 2:54 PM, Sumedha Rubasinghe <[email protected]>wrote:
>>>
>>>>
>>>> On Tue, Feb 1, 2011 at 2:20 PM, Danushka Menikkumbura <
>>>> [email protected]> wrote:
>>>>
>>>>> qpid-client-0.9.jar is not a dependency. It should be generated by the
>>>>> build.
>>>>>
>>>>
>>>> This is what happens when I try to build Qpid.
>>>>
>>>> qpid$ svn up
>>>> At revision 86463.
>>>> qpid$ svn info
>>>> Path: .
>>>> URL: https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/qpid
>>>> Repository Root: https://svn.wso2.org/repos/wso2
>>>> Repository UUID: a5903396-d722-0410-b921-86c7d4935375
>>>> Revision: 86463
>>>> Node Kind: directory
>>>> Schedule: normal
>>>> Last Changed Author: danushka
>>>> Last Changed Rev: 85975
>>>> Last Changed Date: 2011-01-26 13:08:25 +0530 (Wed, 26 Jan 2011)
>>>>
>>>> qpid$ b
>>>> [INFO]
>>>> NOTE: Maven is executing in offline mode. Any artifacts not already in
>>>> your local
>>>> repository will be inaccessible.
>>>>
>>>> [INFO] Scanning for projects...
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Building Apache Qpid
>>>> [INFO]    task-segment: [clean, install]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] [clean:clean {execution: default-clean}]
>>>> [INFO] [antrun:run {execution: compile}]
>>>> [INFO] Executing tasks
>>>> [INFO] Executed tasks
>>>> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
>>>> [INFO] [install:install {execution: default-install}]
>>>> [INFO] Installing
>>>> /Users/sumedha/projects/carbon/trunk/dependencies/qpid/pom.xml to
>>>> /Users/sumedha/.m2/repository/org/apache/qpid/qpid/0.9-wso2v1/qpid-0.9-wso2v1.pom
>>>> [INFO] [install:install-file {execution: install-client}]
>>>> [INFO] Installing
>>>> /Users/sumedha/projects/carbon/trunk/dependencies/qpid/java/build/lib/qpid-client-0.9.jar
>>>> to
>>>> /Users/sumedha/.m2/repository/org/apache/qpid/qpid-client/0.9-wso2v1/qpid-client-0.9-wso2v1.jar
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Error installing artifact 'org.apache.qpid:qpid-client:jar':
>>>> Error installing artifact: File
>>>> /Users/sumedha/projects/carbon/trunk/dependencies/qpid/java/build/lib/qpid-client-0.9.jar
>>>> does not exist
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 2 seconds
>>>> [INFO] Finished at: Tue Feb 01 14:56:38 IST 2011
>>>> [INFO] Final Memory: 16M/80M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> qpid$
>>>>
>>>>
>>>> /sumedha
>>>>
>>>>
>>>>
>>>>>
>>>>> Danushka
>>>>>
>>>>> On Tue, Feb 1, 2011 at 12:28 PM, Sumedha Rubasinghe 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>> Apart from this, I noticed few local dependencies in [1]
>>>>>> https://svn.wso2.org/repos/wso2/trunk/carbon/dependencies/qpid/pom.xml. 
>>>>>> Aren't these available on any Maven repository?
>>>>>> If not & why don't we upload them to WSO2 repository?
>>>>>>
>>>>>> /sumedha
>>>>>>
>>>>>>
>>>>>> [INFO] Scanning for projects...
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Building Apache Qpid
>>>>>> [INFO]    task-segment: [clean, install]
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] [clean:clean {execution: default-clean}]
>>>>>> [INFO] [antrun:run {execution: compile}]
>>>>>> [INFO] Executing tasks
>>>>>> [INFO] Executed tasks
>>>>>> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
>>>>>> [INFO] [install:install {execution: default-install}]
>>>>>> [INFO] Installing
>>>>>> /Users/sumedha/projects/carbon/trunk/dependencies/qpid/pom.xml to
>>>>>> /Users/sumedha/.m2/repository/org/apache/qpid/qpid/0.9-wso2v1/qpid-0.9-wso2v1.pom
>>>>>> [INFO] [install:install-file {execution: install-client}]
>>>>>> [INFO] Installing
>>>>>> /Users/sumedha/projects/carbon/trunk/dependencies/qpid/java/build/lib/qpid-client-0.9.jar
>>>>>> to
>>>>>> /Users/sumedha/.m2/repository/org/apache/qpid/qpid-client/0.9-wso2v1/qpid-client-0.9-wso2v1.jar
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [ERROR] BUILD ERROR
>>>>>> [INFO]
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Error installing artifact 'org.apache.qpid:qpid-client:jar':
>>>>>> Error installing artifact: File
>>>>>> /Users/sumedha/projects/carbon/trunk/dependencies/qpid/java/build/lib/qpid-client-0.9.jar
>>>>>> does not exist
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Carbon-dev mailing list
>>>>>> [email protected]
>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Carbon-dev mailing list
>>>>> [email protected]
>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to