Message:
The following issue has been closed.
Resolver: dion gillard
Date: Wed, 20 Aug 2003 1:43 AM
This works fine here.
Could you please retest against HEAD or provide some more detail? Thanks
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-685
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-685
Summary: ANT Plugin Does not work.
Type: Bug
Status: Closed
Priority: Major
Resolution: CANNOT REPRODUCE
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
plugin-java
Fix Fors:
1.0-rc1
Versions:
1.0-rc1
Assignee:
Reporter:
Created: Fri, 15 Aug 2003 10:12 AM
Updated: Wed, 20 Aug 2003 1:43 AM
Environment: Linux
Description:
The ANT plugin does not seem to work. Here is the error I get when trying to generate
a build.xml from a sample project.xml
[DEBUG] Adding reference: maven.dependency.classpath ->
/home/jkary/.maven/repository/junit/jars/junit-3.8.jar:/home/jkary/.maven/repository/bcel/jars/bcel-5.0.jar:/home/jkary/.maven/repository/regexp/jars/regexp-1.2.jar
BUILD FAILED
This tag must have either the 'name' or the 'var' variables defined
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [ant:generate-build]
-- null:24:71: <j:file> This tag must have either the 'name' or the 'var' variables
defined
at com.werken.werkz.Goal.fire(Goal.java:649)
at com.werken.werkz.Goal.attain(Goal.java:580)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:578)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:467)
at org.apache.maven.Maven.attainGoals(Maven.java:254)
at org.apache.maven.cli.App.doMain(App.java:451)
at org.apache.maven.cli.App.main(App.java:1016)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
org.apache.commons.jelly.JellyTagException: null:24:71: <j:file> This tag must have
either the 'name' or the 'var' variables defined
at org.apache.commons.jelly.tags.core.FileTag.doTag(FileTag.java:111)
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.MavenAbstractWerkzTag.runBodyTag(MavenAbstractWerkzTag.java:94)
at
org.apache.maven.jelly.tags.werkz.MavenAbstractGoalTag$MavenGoalAction.performAction(MavenAbstractGoalTag.java:127)
at com.werken.werkz.Goal.fire(Goal.java:644)
at com.werken.werkz.Goal.attain(Goal.java:580)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:578)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:467)
at org.apache.maven.Maven.attainGoals(Maven.java:254)
at org.apache.maven.cli.App.doMain(App.java:451)
at org.apache.maven.cli.App.main(App.java:1016)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
Total time: 10 seconds
Finished at: Fri Aug 15 10:03:28 EST 2003
[EMAIL PROTECTED] cafe]$ cat maven.log
2003-08-15 10:03:27,756 INFO org.apache.maven.plugin.PluginManager - Finished
initializing Plugins!
[EMAIL PROTECTED] cafe]$
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]