You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dpark <dp...@exchangesolutions.com> on 2009/10/28 17:01:44 UTC

Auto Generate Text File at Build Time

How do I go about auto generating a text file during my build? (ignored by
CVS)
Is there a plugin for this?

Thanks,

DP
-- 
View this message in context: http://www.nabble.com/Auto-Generate-Text-File-at-Build-Time-tp26097319p26097319.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


UNSUBSCRIBE ME.

Posted by Mahadevan_Subramani <Ma...@mahindrasatyam.net>.


On 28/10/09 11:42 PM, "Michael Remijan" <mj...@yahoo.com> wrote:

users-unsubscribe@maven.apache.org

________________________________
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

Re: Auto Generate Text File at Build Time

Posted by Michael Remijan <mj...@yahoo.com>.
I think one thing you'll need to do is add a .cvsignore file in the directory which the file gets generated and add the name of the file to .cvsignore.  That way synchronizing with CVS won't bother with the file.  




________________________________
From: dpark <dp...@exchangesolutions.com>
To: users@maven.apache.org
Sent: Wed, October 28, 2009 11:01:44 AM
Subject: Auto Generate Text File at Build Time


How do I go about auto generating a text file during my build? (ignored by
CVS)
Is there a plugin for this?

Thanks,

DP
-- 
View this message in context: http://www.nabble.com/Auto-Generate-Text-File-at-Build-Time-tp26097319p26097319.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

RE: Auto Generate Text File at Build Time

Posted by "Edelson, Justin" <Ju...@mtvstaff.com>.
Generated files should go in a subdirectory of the target directory,
which should be in .cvsignore (and is automatically ignored goals which
use Maven SCM, IIRC).

There are a variety of code generation plugins around. Most of these are
built around specific types of generation (e.g. javacc, hibernate), but
there are generic ones like the xslt plugin at mojo.codehaus.org. You
can also use the Groovy or JRuby plugins to accomplish this.

Justin

-----Original Message-----
From: dpark [mailto:dpark@exchangesolutions.com] 
Sent: Wednesday, October 28, 2009 12:02 PM
To: users@maven.apache.org
Subject: Auto Generate Text File at Build Time


How do I go about auto generating a text file during my build? (ignored
by
CVS)
Is there a plugin for this?

Thanks,

DP
--
View this message in context:
http://www.nabble.com/Auto-Generate-Text-File-at-Build-Time-tp26097319p2
6097319.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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