maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles N. Harvey III" <charl...@alloy.com>
Subject Re: aspectj includes
Date Mon, 09 Feb 2004 20:55:10 GMT
As far as I can tell, the java (jar:jar) command does do it all in one
step.  This is because <ant:jar> has "includes" and "excludes" as part
of the task.  So whatever specified gets included or excluded.  I don't
see a second step in the plugin.jelly file for the java or jar plugin.

And, I guess I don't really get it.  How do you copy files into a zip
that has already been zipped?  I guess that is possible, I just have
never done it.

Any tips?


Charlie



Vincent Massol wrote:

>Charles,
>
>Why do you want to have the copying happen in the ajc step? Why not
>simply do it in a second copy step as it is done for the java plugin?
>
>Thanks
>-Vincent
>
>  
>
>>-----Original Message-----
>>From: Charles N. Harvey III [mailto:charlieh@alloy.com]
>>Sent: 09 February 2004 20:52
>>To: Maven Users List
>>Subject: Re: aspectj includes
>>
>>Vincent,
>>I don't think it is possible yet.  Since everything runs under the
>><ant:iajc> task and that task does not have any properties that
>>    
>>
>include
>  
>
>>files other than .java and .aj.  The bug below shows that the goal
>>(possibly for 1.2) is to change "-injars" to "-inpath" so directories
>>are supported.  I asked if that means that all files in the directory
>>will be included but have not yet heard back.
>>
>>https://bugs.eclipse.org/bugs/show_bug.cgi?id=46347
>>
>>
>>Charlie
>>
>>
>>Vincent Massol wrote:
>>
>>    
>>
>>>Hi Charles,
>>>
>>>The current version of the aspectj plugin does not support copying
>>>resource files. If you have time, please submit a patch :-)
>>>
>>>Thanks
>>>-Vincent
>>>
>>>
>>>
>>>      
>>>
>>>>-----Original Message-----
>>>>From: Charles N. Harvey III [mailto:charlieh@alloy.com]
>>>>Sent: 02 February 2004 17:20
>>>>To: Maven Users List
>>>>Subject: aspectj includes
>>>>
>>>>Hello.
>>>>'Nother aspectj question that probably can't be answered, but I will
>>>>ask anyway.  How can I include *.properties or *.xml files in my
>>>>aspected jar?  No matter what I seem to do my static files are never
>>>>copied over into the jar.  Which, of course, makes my app fail.
>>>>
>>>>It even strips them out when I do <injars>.  The original jar has
>>>>properties files but the new aspected one does not.  Pretty
>>>>
>>>>
>>>>        
>>>>
>>>frustrating.
>>>
>>>
>>>      
>>>
>>>>Any tips would be much appreciated.
>>>>
>>>>Thanks.
>>>>
>>>>
>>>>Charlie
>>>>
>>>>
>>>>        
>>>>
>>>---------------------------------------------------------------------
>>>      
>>>
>>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>>        
>>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message