Hi all,
 
We have an archetype that we use for producing a shell project.  Some of the 
files in the generated shell project should have project-specific file names 
(e.g. for the ABC project, a properties file might be called abc.properties.  
Some of the files (e.g. Main.java) need to be placed in the correct directory 
to achieve the proper packaging (e.g. in com/company/abc)
 
The archetype plugin doesn't appear to support the ability to specify the 
target file name or path for a archetype resource.  Have I missed something?
 
An alternative method would be to have a post-processing step which does the 
renaming part.  This could be another plugin executing (e.g. antrun).  Is there 
any way that we can cause this to happen from an archetype:create?  I can see 
that we could do it if we were using a phase, but not how it could be done when 
directly invoking a plugin.  Is this behaviour possible?
 
Thanks,
 
Tony.
 
 
 
Mr Tony Gedge
Snr Analyst Programmer
Applications Support
Business Solutions
WorkCover Queensland
www.workcoverqld.com.au ( http://www.workcoverqld.com.au/ )

***************************************************************************
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland. The 
contents of this message are to be used for the intended purpose only and are 
to be kept confidential at all times.
This message may contain privileged information directed only to the intended 
addressee/s. Accidental receipt of this information should be deleted promptly 
and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.
****************************************************************************

Reply via email to