RE: Adding compile source root from Ant-based plugin [again and still unanswered]

2006-05-10 Thread DELHOSTE Fabrice
Hi Ivan,

Unfortunately, I asked for the same question twice in the last month and
had no response.
At the moment, I use build-helper-maven-plugin in any of my poms using
my Ant plugin...waiting for the answer ;-)

Fabrice

-Original Message-
From: Ivan Dubrov [mailto:[EMAIL PROTECTED] 
Sent: samedi 6 mai 2006 15:48
To: users@maven.apache.org
Subject: Adding compile source root from Ant-based plugin

Hello,

I have Ant-based MOJO that generates some Java sources. What is the
preferred way to add the directory with the generated sources as an
additional source root? I do not want to configure manually
build-helper-maven-plugin
(http://mojo.codehaus.org/build-helper-maven-plugin/) from my project
descriptor, since I think my generator-plugin should take the
appropriate actions itself.

Probably, there is a way to call MOJO from Ant script (in that case, I
could invoke build-helper:add-source from my Ant target)?

P.S. Please, add me to the cc, I'm not subscribed to the list.

--
WBR,
Ivan S. Dubrov

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



No way to add generated sources to the compilation path in Ant MOJO ?

2006-04-25 Thread DELHOSTE Fabrice
Hi,

Is it possible to add generated sources to the source compilation in Ant
MOJO, kind of sourceRoot in .mojos.xml ?
Sorry, still the same question as I had no answer to my previous mails
on this topic.

Thanks,

Fabrice



RE: m2 How to add generated source to the compilation path from a new pl

2006-04-19 Thread DELHOSTE Fabrice

How to do the same in Ant MOJO?
Is it currently possible?

-Original Message-
From: Gilles Scokart [mailto:[EMAIL PROTECTED] 
Sent: mercredi 19 avril 2006 12:54
To: users@maven.apache.org
Subject: Re: m2 How to add generated source to the compilation path from
a new pl


See http://maven.apache.org/guides/mini/guide-generating-sources.html

Namely : project.addCompileSourceRoot( outputDirectory ); 

at the end of the code sample.

Gilles Scokart
--
View this message in context:
http://www.nabble.com/m2-How-to-add-generated-source-to-the-compilation-
path-from-a-new-plugin-t1471998.html#a3985251
Sent from the Maven - Users forum at Nabble.com.


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



RE: m2 How to add generated source to the compilation path from a new pl

2006-04-19 Thread DELHOSTE Fabrice

Thanks but I mean in a Ant MOJO, not in the use of the Antrun plugin.
In other words, I'd like to build a plugin, relying on Ant, and add some
sources generated by the plugin ant script.

-Original Message-
From: Tom Huybrechts [mailto:[EMAIL PROTECTED] 
Sent: mercredi 19 avril 2006 14:37
To: Maven Users List
Subject: Re: m2 How to add generated source to the compilation path from
a new pl

On 4/19/06, DELHOSTE Fabrice [EMAIL PROTECTED] wrote:

 How to do the same in Ant MOJO?
 Is it currently possible?

http://maven.apache.org/plugins/maven-antrun-plugin/usage.html


 -Original Message-
 From: Gilles Scokart [mailto:[EMAIL PROTECTED]
 Sent: mercredi 19 avril 2006 12:54
 To: users@maven.apache.org
 Subject: Re: m2 How to add generated source to the compilation path 
 from a new pl


 See http://maven.apache.org/guides/mini/guide-generating-sources.html

 Namely : project.addCompileSourceRoot( outputDirectory );

 at the end of the code sample.

 Gilles Scokart
 --
 View this message in context:
 http://www.nabble.com/m2-How-to-add-generated-source-to-the-compilatio
 n-
 path-from-a-new-plugin-t1471998.html#a3985251
 Sent from the Maven - Users forum at Nabble.com.


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



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



RE: [m2] How to add generated sources in Ant MOJO [Need answer plz]

2006-04-18 Thread DELHOSTE Fabrice

Sorry but I could not find the way to do that by myself.
Please any help?
 
-Original Message-
From: DELHOSTE Fabrice [mailto:[EMAIL PROTECTED] 
Sent: jeudi 13 avril 2006 17:57
To: users@maven.apache.org
Subject: [m2] How to add generated sources in Ant MOJO

Hi all,

In other words, how can I add something to compileSourceRoots in a
custom Ant (not Java) plugin ?

Thanks,
Fabrice 


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



[m2] How to add generated sources in Ant MOJO

2006-04-13 Thread DELHOSTE Fabrice
Hi all,

In other words, how can I add something to compileSourceRoots in a
custom Ant (not Java) plugin ?

Thanks,
Fabrice