You were right. I had placed it in target/gen-src. It works now.. but is
there a way to configure this?

Thanks very much.


On 1/11/06, Allison, Bob <[EMAIL PROTECTED]> wrote:
>
> The XDoclet plugin for Maven expects to place the generated sources in
> target/generated-sources/xdoclet and adds it to the compile source list.
>
> If you are specifying a different destination, that may be part of the
> problem if the plugin is not doing things quite right.  Try changing
> your output directory to match the one mentioned above and see if that
> helps.
>
> BTW, it is not a good idea, usually, to place generated files in the src
> tree.
>
> -----Original Message-----
> From: Karthik V [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 11, 2006 12:07
> To: Maven Users List
> Subject: Re: [m2] Unavoidable multiple source directories:
> src/sandbox/java
>
>
> I am using xdoclet from codehaus in the generate-sources phase... but
> durin
> the compile phase, i get errors that all those classes r missing ...
>
>
> On 1/11/06, dan tran <[EMAIL PROTECTED]> wrote:
> >
> > the xdocdet mojo, if available, will add the generated source
> > automatically
> >
> > However, if you are using antrun plugin to generate source, it can do
> that
> > for you
> >
> > http://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html
> >
> > -D
> >
> >
> > On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote:
> > >
> > > I need to add the sources generated thru xdoclet (its in a separate
> > > folder).. is there a cleaner way of adding it, other than using this
> > > build-helper?
> > >
> > >
> > >
> > > On 1/11/06, dan tran <[EMAIL PROTECTED]> wrote:
> > > >
> > > > http://mojo.codehaus.org/build-helper-maven-plugin/
> > > >
> > > > On 1/11/06, Geoffrey <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > What is the best practice to add a second source directory?
> > > > > I am aware it is not recommended to have more then one, but it's
> > > > > unavoidable at this time in the project:
> > > > >
> > > > > src/main/java
> > > > > src/sandbox/java
> > > > >
> > > > > There are cyclic dependencies between both, so making a separate
> > > project
> > > > > for both is not an option it seems.
> > > > >
> > > > > --
> > > > > With kind regards,
> > > > > Geoffrey De Smet
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > 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