Maciek Zywno <[EMAIL PROTECTED]> wrote on 27/11/2003 06:38:16 AM:

[snip] 
> Thanks, but it does not work, java:compile is unattainable due to
> com.werken.werkz.UnattainableGoalException: Unable to obtain goal 
> [java:compile]
>  -- file:/C:/Documents and Settings/maciek/Desktop/PRACA 
> MAGISTERSKA/xdoclet-plu
> gins/plugin-qtags/:55:9: <taskdef> Reference  not found.

Note: "Reference  not found". That double space is REALLY important.

> *The java:compile in my subproject is:
[snip]

> *So the problem is in qtags goal which I put below:
> *
> <goal name="qtags"> 
>     <mkdir dir="${basedir}/target/src"/>
>     <path id="xdoclet.generated.path" location="${basedir}/target/src"/>
>     <maven:addPath id="maven.compile.src.set" 
> refid="xdoclet.generated.path"/>
> 
>     *<path id="xdoclet.task.classpath">
>       <pathelement location="${basedir}/target/classes"/>
>       <path refid="maven.dependency.classpath"/>
>     </path>*
> 
>     *<taskdef
>       name="xdoclet"
>       classname="org.xdoclet.ant.XDocletTask"
>       classpathref="${xdoclet.task.classpath}"
>       />*

The classpathref above is wrong. it should be:

     <taskdef
       name="xdoclet"
       classname="org.xdoclet.ant.XDocletTask"
       classpathref="xdoclet.task.classpath"
       />

Note the last line. the classpathref is well documented in ant. it's the 
name of a variable, not the value of one.


[snip]
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


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

Reply via email to