maven.compile.src.set is initialized like this in driver.jelly
<j:set var="dir__" value="${pom.build.sourceDirectory}X"/>
<j:if test="${dir__ != 'X'}">
<available
property="sourcesPresent"
file="${pom.build.sourceDirectory}"
/>
</j:if>
....
<j:if test="${sourcesPresent == 'true'}">
<path id="maven.compile.src.set">
<pathelement location="${pom.build.SourceDirectory}"/>
</path>
</j:if>
pom.build.sourceDirectory correspond to your declaration of source
directory in your project.xml
What maven version do you use?
Emmanuel
-----Message d'origine-----
De: "Aleksei Nazarov" <[EMAIL PROTECTED]>
A: "Turbine Maven Users List" <[EMAIL PROTECTED]>
Date: 18/09/02
Objet: RE: problem [[EMAIL PROTECTED]]
Yes,
I use example:
http://jakarta.apache.org/turbine/maven/start/integrate.html
File [C:\maven\plugins\maven-java-plugin-1.0] contains :
<goal name="java:compile"
description="Compile the project"
prereqs="java:prepare-filesystem">
<javac
destdir="${maven.build.dest}"
excludes="**/package.html"
debug="${maven.compile.debug}"
deprecation="${maven.compile.deprecation}"
optimize="${maven.compile.optimize}">
<src>
<path refid="maven.compile.src.set"/>
</src>
<j:forEach var="sm" items="${pom.build.sourceModifications}">
<available property="classPresent" classname="${sm.className}"/>
<j:if test="${classPresent != 'true'}">
<j:forEach var="exclude" items="${sm.excludes}">
<exclude name="${exclude}"/>
</j:forEach>
</j:if>
</j:forEach>
<classpath>
<path refid="maven.dependency.classpath"/>
<pathelement path="${maven.build.dest}"/>
</classpath>
</javac>
</goal>
Anyway, what this property[maven.compile.src.set] means???
Aleksei.
-----Original Message-----
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 12:10 PM
To: Turbine Maven Users List
Subject: Rep:problem [[EMAIL PROTECTED]]
Have you define a sourceDirectory tag in your project.xml like this :
<build>
<sourceDirectory>src/java</sourceDirectory>
</build>
Emmanuel
-----Message d'origine-----
De: "Aleksei Nazarov" <[EMAIL PROTECTED]>
A: "Turbine Maven Users List" <[EMAIL PROTECTED]>
Date: 18/09/02
Objet: problem [[EMAIL PROTECTED]]
Hello!
I've got this error...
What can I do???
java:compile:
[ERROR] BUILD FAILED
[ERROR] File...... C:\maven\plugins\maven-java-plugin-1.0\plugin.jelly
[ERROR] Element... javac
[ERROR] Line...... 54
[ERROR] Column.... 44
[ERROR] Reference maven.compile.src.set not found.
Total time: 15 seconds
maven.log :
.........
2002-09-18 11:36:28,046 ERROR org.apache.commons.jelly.impl.TagScript -
Caught exception: Reference maven.compile.src.set not found.
Reference maven.compile.src.set not found.
at
org.apache.tools.ant.types.Reference.getReferencedObject(Reference.java:
93)
at
org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:464)
at
org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:472)
at
org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:472)
at org.apache.tools.ant.types.Path.list(Path.java:287)
at org.apache.tools.ant.types.Path.size(Path.java:437)
at
org.apache.tools.ant.taskdefs.Javac.checkParameters(Javac.java:799)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:662)
at org.apache.tools.ant.Task.perform(Task.java:317)
at
org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:224)
at
org.apache.commons.jelly.impl.DynaTagScript.run(DynaTagScript.java:138)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:134)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:190)
at
org.apache.commons.jelly.tags.werkz.GoalTag$1.performAction(GoalTag.java
:119)
at com.werken.werkz.Goal.attain(Goal.java:524)
at com.werken.werkz.Goal.attainPrerequisites(Goal.java:427)
at com.werken.werkz.Goal.attain(Goal.java:492)
at com.werken.werkz.Goal.attainPrerequisites(Goal.java:427)
at com.werken.werkz.Goal.attain(Goal.java:492)
at com.werken.werkz.Goal.attainPrerequisites(Goal.java:427)
at com.werken.werkz.Goal.attain(Goal.java:492)
at org.apache.maven.app.Maven.runGoals(Maven.java:977)
at org.apache.maven.app.Maven.attainGoals(Maven.java:871)
at org.apache.maven.app.App.doMain(App.java:308)
at org.apache.maven.app.App.main(App.java:786)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
Aleksei.
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
_____________________________________________________________
Exclusif: 75 euros rembours�s sur le pack eXtense Haut D�bit de Wanadoo
!
Vivez l'Internet sans contrainte en b�n�ficiant d'un prix "tout
compris",
d'un forfait haut d�bit illimit�, d'un acc�s ADSL et d'un Modem ADSL
simple � installer !
Cliquez ici : http://www.ifrance.com/_reloc/mail.exclusif
--
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]>
_____________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut D�bit soit 150,92 euros d'�conomies !
Et pour 1 euro de plus, re�ois le CD-ROM du jeu Dark Age of Camelot
+ 1 mois de jeu en r�seau offert !
Clique ici : http://www.ifrance.com/_reloc/mail.etudiant
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>