[Cosmo-dev] multi_project branch is ready for dev review
Ted Leung
twl at osafoundation.org
Mon Feb 5 16:47:32 PST 2007
These problems only showed up when I ran using JDK 6.0. When I went
back to JDK 1.5 everything worked. I will file a bug.
On Feb 5, 2007, at 12:25 PM, Ted Leung wrote:
> I started working through the use cases. When I got to:
>
> mvn -Prelease clean compile war:war
>
> I got:
>
> mvn -Prelease clean compile war:war ~work/osaf/multi_project
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] OSAF Server
> [INFO] Cosmo
> [INFO] OSAF Server Bundle
> [INFO] Cosmo Migration
> [INFO] Searching repository for plugin with prefix: 'war'.
> [INFO]
> ----------------------------------------------------------------------
> ------
> [INFO] Building OSAF Server
> [INFO] task-segment: [clean, compile, war:war]
> [INFO]
> ----------------------------------------------------------------------
> ------
> [INFO] [clean:clean]
> [INFO] Deleting directory /home/twl/work/osaf/multi_project/target
> [INFO] Deleting directory /home/twl/work/osaf/multi_project/target/
> classes
> [INFO] Deleting directory /home/twl/work/osaf/multi_project/target/
> test-classes
> [INFO] No goals needed for project - skipping
> [INFO] [war:war]
> [INFO] Exploding webapp...
> [INFO] Assembling webapp osaf-server in /home/twl/work/osaf/
> multi_project/target/osaf-server-0.6-SNAPSHOT
> [INFO] Copy webapp webResources to /home/twl/work/osaf/
> multi_project/target/osaf-server-0.6-SNAPSHOT
> [INFO] Generating war /home/twl/work/osaf/multi_project/target/osaf-
> server-0.6-SNAPSHOT.war
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Error assembling WAR: Deployment descriptor: /home/twl/work/
> osaf/multi_project/target/osaf-server-0.6-SNAPSHOT/WEB-INF/web.xml
> does not exist.
>
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 1 second
> [INFO] Finished at: Mon Feb 05 12:15:16 PST 2007
> [INFO] Final Memory: 3M/7M
> [INFO]
> ----------------------------------------------------------------------
> --
> [1] 12751 exit 1 mvn -Prelease clean compile war:war
>
>
>
> On Feb 2, 2007, at 5:54 PM, Mike Taylor wrote:
>
>> With the amazing bug-finding and solving help of Travis, he and I
>> have made a lot of subtle changes to the multi-project branch and
>> feel it's ready for the Cosmo devs to review.
>>
>> Some simple notes on what I think is the more common use-cases can
>> be found here:
>>
>> http://wiki.osafoundation.org/Projects/
>> CosmoBuildInstructions#Multi%20Project%20Branch
>>
>> Please note - this branch was based on the Cosmo trunk as of a
>> couple days ago - it's there to test the Maven build process, not
>> the code :)
>>
>> Some things fixed by this branch:
>>
>> - The dojo "build" is now it's own sub-project and generates a
>> jar file - one for devs (normal uncompressed) and one for release
>> - The Olson and jsonrpc-java-js jsar projects are now sub-
>> projects and generate jar files
>> - The cosmo, migration and snarf parts are now sub-projects and
>> will use each others dependencies in a smarter fashion
>> - Because we can now use profiles, the javascript libraries are
>> now stored in the webapp under a versioned directory
>>
>> This solves a number of subtle cache related javascript issues -
>> but not all of them. You will still need to flush/force reload if
>> you are testing with a dev snapshot *and* the javascript changes.
>>
>> Because now the whole project is managed as sub-projects by Maven
>> we will be able to start using some of the more useful maven
>> plugins to do documentation, code-coverage and other helpful reports.
>>
>> What I would like people to do is to checkout the branch and go
>> into the cosmo directory and run thru the use-cases I outline in
>> the wiki page and let me know if I'm totally bat-shit crazy or
>> does it work.
>>
>> thanks,
>>
>> ---
>> bear
>>
>> Build and Release Engineer
>> Open Source Applications Foundation (OSAF)
>> bear at osafoundation.org
>> http://www.osafoundation.org
>>
>> bear at code-bear.com
>> http://code-bear.com
>>
>>
>>
>> _______________________________________________
>> cosmo-dev mailing list
>> cosmo-dev at lists.osafoundation.org
>> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev
>
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/cosmo-dev/attachments/20070205/175840e4/attachment-0001.htm
More information about the cosmo-dev
mailing list