I'm not quite sure how you can specify a directory for genapp to generate a
project in, but I have been modifying the template myself so I can help you
with that.

Inside your local Maven home directory just create a directory called
"template".  Then in there you make a directory for each template you want
to create.  The best way to start is to extract the "default" directory from
the genapp plugin JAR.  It should be in the directory template-resources.
Copy that over to your local Maven home directory and then you can start
modifying the structure and configuration.

Yoway Buorn
Software Engineer
Imagery Systems Engineering

GENERAL DYNAMICS
Advanced Information Systems

"Make me a fire and I'm warm for a night.  Set me on fire and I'm warm for
the rest of my life." -- Ancient Didactical Saying



-----Original Message-----
From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 3:05 PM
To: 'Maven Users List'
Subject: Genapp goal


Hi guys,

How do u specify the destination directory for the genapp goal. I mean if
I'm running maven in directory A but want the generated project to be placed
in directory B, how do I specify that.

Also what would be required to change the template used by genapp. Right now
the default template generated the following dir structure
src\java\com.packagename.

I need it to be just src\com.packagename.

Do I have to define and new template ? How and where ?

Thanks

Vikas



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to