Hi,

qpid/java/module.xml is looking for ${profile}.testprofile file during the
build. For the default profile it is default.testprofile and it is in the
test-profile dir. We are building in the builder machine with the new
profile which I have added to the platform pom (named 'nightly-build').
Therefore it is looking for the nightly-build.testprofile file.

For the moment I did a *cp default.testprofile
nightly-build.testprofile*and it seems to work.

Dhanushka,

Is it correct to do like that. If so shall I commit that file. Else, what
should I do?

Thanks,
AmilaM.

On Thu, Mar 31, 2011 at 1:39 PM, Amila Maha Arachchi <[email protected]>wrote:

> Hi again,
>
> Sorry for the noice. I am looking into this. I added a new profile
> "nightly-build" to platform pom. Error seems something related to it. Will
> update the list.
>
> Thanks,
> AmilaM.
>
>
> On Thu, Mar 31, 2011 at 1:37 PM, Amila Maha Arachchi <[email protected]>wrote:
>
>> Hi,
>>
>> I tried building this by going inside the dependencies/qpid folder. Then
>> it built successfully. But it seems to fail when build from root level. Any
>> ideas?
>>
>> Thanks,
>> AmilaM.
>>
>>
>> On Thu, Mar 31, 2011 at 12:56 PM, WSO2 Builder <[email protected]> wrote:
>>
>>> [INFO] Nothing to compile - all classes are up to date
>>> [INFO] [resources:testResources {execution: default-testResources}]
>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>> resources, i.e. build is platform dependent!
>>> [INFO] skip non existing resourceDirectory
>>> /home/carbon/carbon/dependencies/jsr107cache/src/test/resources
>>> [INFO] [compiler:testCompile {execution: default-testCompile}]
>>> [INFO] Not compiling test sources
>>> [INFO] [surefire:test {execution: default-test}]
>>> [INFO] Tests are skipped.
>>> [INFO] [jar:jar {execution: default-jar}]
>>> [INFO] [install:install {execution: default-install}]
>>> [INFO] Installing
>>> /home/carbon/carbon/dependencies/jsr107cache/target/jsr107cache-1.1.wso2v1.jar
>>> to
>>> /home/carbon/.m2/repository/net/sf/jsr107cache/jsr107cache/1.1.wso2v1/jsr107cache-1.1.wso2v1.jar
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Building WSO2 Carbon - Dependencies - Apache Qpid
>>> [INFO]    task-segment: [install]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] [incremental-build:incremental-build {execution: default}]
>>> [INFO] Verifying module descriptor ...
>>> [INFO] Verifying parent modules...
>>> [INFO] Verifying resources...
>>> [INFO] Resources directory does not exist :
>>> /home/carbon/carbon/dependencies/qpid/java/src/main/resources
>>> [INFO] Verifying sources...
>>> [INFO] No sources to check ...
>>> [INFO] [antrun:run {execution: compile}]
>>> [INFO] Executing tasks
>>>
>>> main:
>>>
>>> build:
>>>     [echo] Running ant for module : junit-toolkit
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] An Ant BuildException has occured: The following error occurred
>>> while executing this line:
>>> /home/carbon/carbon/dependencies/qpid/java/build.xml:159: The following
>>> error occurred while executing this line:
>>> /home/carbon/carbon/dependencies/qpid/java/build.xml:58: The following
>>> error occurred while executing this line:
>>> /home/carbon/carbon/dependencies/qpid/java/junit-toolkit/build.xml:24:
>>> The following error occurred while executing this line:
>>> /home/carbon/carbon/dependencies/qpid/java/module.xml:299: The requested
>>> test profile was not found:
>>> /home/carbon/carbon/dependencies/qpid/java/test-profiles/nightly-build.testprofile
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 22 minutes 26 seconds
>>> [INFO] Finished at: Thu Mar 31 12:56:10 IST 2011
>>> [INFO] Final Memory: 1135M/1877M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> _______________________________________________
>>> 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