[ 
https://issues.apache.org/jira/browse/LABS-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simone Gianni resolved LABS-201.
--------------------------------

    Resolution: Fixed

Closing this bug cause now Magma fully supports complete build, war creation, 
war running and the like.

There are now the following magma goals :
magma:compile : compiles the current package
magma:test-compile : compiles the tests in the current package
magma:test : runs test in a LTW and eventually OpenJPA enabled environment 
(still ugly)
magma:completeweave : uncompresses, weaves, optionally OpenJPA-enhances, and 
recompresses dependency jars
magma:warexploded : executes a complete weave, and then creates a war file 
structure
magma:war : creates the war file structure and also packages the war
magma:run : runs a web application inside Jetty in a LTW+OpenJpa environment
magma:runwar : creates a war file structure and runs it into Jetty.

> Full build system
> -----------------
>
>                 Key: LABS-201
>                 URL: https://issues.apache.org/jira/browse/LABS-201
>             Project: Labs
>          Issue Type: New Feature
>          Components: Magma
>    Affects Versions: Current
>            Reporter: Simone Gianni
>            Assignee: Simone Gianni
>             Fix For: Current
>
>
> Currently Magma runs in a LTW environment, which is good for development. The 
> final build system should create a complete WAR, performing all the necessary 
> weaving optimized.
> This task is not simple as it may seem, because each jar to be included in 
> the WAR have to be passed thru the weaver, and then repackaged to form the 
> weaved version, avoiding to place duplicated classes (coming from different 
> jars) in the same output jar. 
> It needs to be investigated wether playing with current AspectJ configuration 
> (inpath, aspectpath, classpath, outjar) and iterating over every jar could be 
> enough, or not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to