portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric L. Wittle" <er...@wittle.net>
Subject Proposed enhancement to Jetspeed 1 maven plugin
Date Sat, 17 Jul 2004 18:27:39 GMT
I asked earlier whether there was a way to have the plugin remove files 
from the Jetspeed distribution rather than just add/modify them.  The 
answer was that there is not, but that might be a good idea.

I have a working prototype for this that adds the following property:

maven.delete.files

to the project.properties file in the custom portal root folder. This 
property takes a comma separated list of files and removes them from the 
stage directory after the distribution is unzipped/unwarred and before 
the stage is copied to the target. This is a little more kludgy than I'd 
hoped, since if you want to delete a lot of files, the property value 
gets exceedingly long.

My only other thought on how this would work would be to use the form:

maven.delete.file.1=<filename>
maven.delete.file.2=<filename>

If someone has examples of how to do this in Jelly that they can send 
me, I'll modify my approach. If people still think this is useful, let 
me know how to submit it. Should I create a JIRA incident and attach the 
plugin.jelly file to it?

-Eric
 ericw at wittle.net

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message