Hi all,

I am trying to figure out the proper maven based layout for some existing
ant code that uses xdoclet for code generation (standard EJB stuff).

>From what I have seen to date, the way so far is for maven to ask xdoclet
to generate the code in the temporary target/generated-src directory.

The trouble is that the static code in the project code references the
generated code, and so won't build in an IDE like eclipse, as the
generated-src directory doesn't exist initially, or after an mvn clean.

I can set the project up so that target/generated-src is in
src/main/generated-src (for example), which solves the Eclipse problem,
but then the code is not regenerated on a clean.

Can anyone suggest a best practise that is capable of keeping Eclipse
happy, and mvn clean working, both at the same time?

Regards,
Graham
--



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

Reply via email to