I did a while back, month or so ago. Not sure if it still works with the
current CVS HEAD as I've not built in ages, am tempted to think it
doesn't.

Is at work, so can post the probably out of date method [though it'll work
on b4] tomorrow.

Hen

On Thu, 18 Jul 2002, Michal Maczka wrote:

> I ma struggling to use Maven (JavaEE plug in) with XDoclet.
>
> First question did somebody achieved it already?
> If it is so I would be grateful for some advices how it has been done.
>
> As I understand I have to "Prepare Sources"
>
> so I am playing with project.properties
>
> -------------------------------------------------
> maven.delegatorBuildFile=build-xdoclet.xml
> maven.prepareSourceTarget=ejbdoclet
> maven.prepareSourceDirectory=target/generated-src
>
> #########################
> # j2ee
> #
>
> maven.j2ee.version=13
>
> build.conf.dir=${maven.build.dir}/conf
> build.conf.j2ee=${build.conf.dir}/j2ee
> build.conf.ejb=${build.conf.dir}/ejb
>
> build.gen.src=${maven.build.dir}/generated-src
> ...
> --------------------------------------------------
>
>
> And here I have encounterd first problem:
>
> I have build-xdoclet.xml
>
> --------------------------------------------------
> <?xml version="1.0"?>
> <project name="maven" >
>
>
>    <!-- ========================================= -->
>    <!-- Prepare build area                        -->
>    <!-- ========================================= -->
>    <target name="prepare">
>        <echo>
>          maven.build.dir     ---> ${maven.build.dir}
>          build.conf.dir      ---> ${build.conf.dir}
>          build.conf.j2ee     ---> ${build.conf.j2ee}
>          build.conf.ejb      ---> ${build.conf.ejb}
>          maven.j2ee.version  ---> ${maven.j2ee.version}
>        </echo>
>       <mkdir dir="${build.conf.dir}" />
>       <mkdir dir="${build.conf.ejb}" />
>       <mkdir dir="${build.conf.j2ee}" />
>       <mkdir dir="${build.gen.src}" />
>    </target>
>
>
>    <target name="ejbdoclet"  depends="prepare">
>      <ejbdoclet>
>      ...
>     </ejbdoclet>
> </target>
> </project>
> --------------------------------------------------------------------
>
> And to my surprise output is like follows:
>
>      [echo]
>
> prepare:
>      [echo]
>      [echo]          maven.build.dir     ---> C:\projects\myproject/target
>      [echo]          build.conf.dir      ---> ${maven.build.dir}/conf
>      [echo]          build.conf.j2ee     ---> ${maven.build.dir}/conf/j2ee
>      [echo]          build.conf.ejb      ---> ${maven.build.dir}/conf/ejb
>      [echo]          maven.j2ee.version  ---> 13
>      [echo]
>
>
>
> Question is why Maven is not resolfing correctly properties:
>
> build.conf.dir
> build.conf.j2ee
> build.conf.ejb
>
>
>
> TIA
>
>
> Michal
>
>
>
>
>
>
>
> ----------------------------------------------------------------------
> Czy grozi nam powrot cenzury? >>> http://link.interia.pl/f162a
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to