Found the problem. module/main/project.properties and
module/main/modified-src/* were not being included in the moveSrc goal.
I fixed it in the root maven.xml incase any other projects do this as well.
Cheers
Richard
Richard Gould wrote:
So I'm trying to release 2.2.RC2, but I am having problems with the
source zip file it generated. The output from java:compile in module
main is included below.
This problem does not occur when I java:compile on my svn checkout, just
the source zip file that maven built for me. I'm guessing something
isn't configured properly?
I'll go and rebuild the distribution, but it is a slow process. (Is
there some way to tell it not to build javadocs?)
Cheers
Richard
[EMAIL PROTECTED]:~/gttest/geotools/module/main$ maven -e
java:compile
__ _
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
java:prepare-filesystem:
java:compile:
javacc:jjtree-generate:
[echo] javaccPackageName:org.geotools
[echo] jjtreePackageName:org.geotools
-OUTPUT_DIRECTORY=/home/rgould/gttest/geotools/module/main/target/generated-src/main/java/org/geotools
Creating directory:
/home/rgould/gttest/geotools/module/main/target/generated-src/main/java/org/geotools
Java Compiler Compiler Version 3.2 (Tree Builder)
(type "jjtree" with no arguments for help)
Error setting input: org.javacc.jjtree.JJTreeIOException: File not found.
Caught exception evaluating:
[EMAIL PROTECTED] Reason:
java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:149)
at
org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:339)
at
org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:213)
at
org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:104)
at
org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:106)
at
org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:88)
at
org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:123)
at
org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:115)
at
org.apache.commons.jelly.expression.jexl.JexlExpressionFactory$ExpressionSupportLocal.evaluate(JexlExpressionFactory.java:168)
at org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:130)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at
com.werken.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:87)
at com.werken.werkz.Goal.firePreGoalCallbacks(Goal.java:691)
at com.werken.werkz.Goal.fire(Goal.java:616)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out
of range: -1
at java.lang.String.substring(String.java:1768)
at
org.apache.maven.javacc.JJTreeBean.getJavaccGrammar(JJTreeBean.java:118)
... 39 more
[echo]
Java Compiler Compiler Version 3.2 (Parser Generator)
(type "javacc" with no arguments for help)
File not found.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel