ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Fwd: RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed
Date Sun, 25 Jul 2004 14:54:20 GMT
I found this on the gump mailing list.
Can it be that we [ant] broke something  ?
Antoine

--- Weitergeleitete Nachricht / Forwarded Message ---
Date: Sun, 25 Jul 2004 13:54:05 +0200
From: "Stephen McConnell" <mcconnell@apache.org>
To: "'Gump code and data'" <general@gump.apache.org>
Subject: RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

I think this has to be Ant related.
Steve.


> Looking at the build log - starting with the command line we can see
> that the gump.resource.junit property is being supplied by Gump as a
> system property:
> 
>
-Dgump.resource.junit=/usr/local/gump/public/workspace/dist/junit/junit.
> jar
> 
> However, when we look down further in the build when Magic is doing
its
> Gump sanity check (under InitializeTask.java), Magic is complaining
that
> there is no 'gump.resource.junit' property.
> 
>   init:
>    [x:init] Executing gump sanity check.
>    ...
>    Warning - missing property [gump.resource.junit].
> 
> As a consequence, magic's cache is not being updated and the end
result
> is that the classpath that magic is creating for the compilation run
> does not include the junit jar file.
> 
> The actual code that is doing the lookup of the system property is
here:
> 
>    String gumpKey = "gump.resource." + resource.getKey();
> 
>    //
>    // the value of 'gumpKey' is not set to ' gump.resource.junit'
>    //
> 
>    String path = project.getProperty( gumpKey );
>    if( null != path )
>    {
>        updateCache( project, resource, path );
>    }
>    else
>    {
>        final String warning =
>          "Warning - missing property [" + gumpKey + "].";
>        project.log( warning );
>    }
> 
> Now the only way that we would get the log message is if the
> project.getProperty( gumpKey ) returns a null value - so I'm wondering
> if something has changed in Ant.
> 
> Anyone have any ideas on this?
> 
> Steve.
> 
> > -----Original Message-----
> > From: Magic Integration [mailto:dev@avalon.apache.org]
> > Sent: Sunday, July 25, 2004 08:25
> > To: dev@avalon.apache.org
> > Subject: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed
> > Importance: High
> >
> > To whom it may engage...
> >
> > This is an automated request, but not an unsolicited one. For
> > more information please visit http://gump.apache.org/nagged.html,
> > and/or contact folk at general@gump.apache.org.
> >
> > Project avalon-tools-magic has an issue affecting its community
> > integration.
> > This issue affects 1 projects.
> > Project State : 'Failed', Reason 'Build Failed'
> > The following are affected:
> >     - avalon-tools-magic :  Avalon Tools.
> >
> >
> > Full details are available at:
> >
> >     http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-
> > magic/index.html
> >
> > That said, some snippets follow:
> >
> >
> > The following annotations were provided:
> >  -DEBUG- Sole jar [avalon-tools-magic-20040725.jar] identifier set
to
> > project name
> >  -DEBUG- Dependency on ant exists, no need to add for property
> > gump.resource.ant-junit.
> >  -DEBUG- Dependency on ant exists, no need to add for property
> > gump.resource.ant-nodeps.
> >  -DEBUG- Dependency on magic exists, no need to add for property
> > magic.home.
> >  -INFO- Enable "verbose" output, due to 1 previous error(s).
> >  -INFO- Failed with reason build failed
> >  -INFO- Enable "debug" output, due to build failure.
> >
> >
> > The following work was performed:
> > http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-
> > magic/gump_work/build_avalon-tools_avalon-tools-magic.html
> > Work Name: build_avalon-tools_avalon-tools-magic (Type: Build)
> > State: Failed
> > Elapsed: 2 secs
> > Command Line: java -Djava.awt.headless=true
org.apache.tools.ant.Main
> -
> > verbose -Dgump.merge=/usr/local/gump/public/gump/work/merge.xml -
> > Dgump.resource.ant-
> > nodeps=/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar
-
> >
>
Dgump.resource.ant=/usr/local/gump/public/workspace/ant/dist/lib/ant.jar
> -
> > Dgump.signature=20040725 -
> > Dmagic.home=/usr/local/gump/public/workspace/avalon-
> > tools/tools/magic/target/20040725 -Dgump.resource.ant-
> > junit=/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar -
> > Dbuild.sysclasspath -
> >
>
Dgump.resource.junit=/usr/local/gump/public/workspace/dist/junit/junit.j
> ar
> > [Working Directory: /usr/local/gump/public/workspace/avalon-
> > tools/tools/magic]
> > CLASSPATH :
> >
>
/usr/local/j2sdk1.4.2_04/lib/tools.jar:/usr/local/gump/public/workspace/
> av
> > alon-tools/tools/magic/target/deliverables/jars/avalon-tools-magic-
> >
>
20040725.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/
> lo
> > cal/gump/public/workspace/ant/dist/lib/ant-
> > stylebook.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-
> > jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-
> > swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-
> > trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-
> > junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-
> > launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-
> >
>
nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar--------
> --
> > -----------------------------------
> > BUILD FAILED
> > /usr/local/gump/public/workspace/avalon-
> > tools/central/system/build/standard.xml:23:
> java.io.FileNotFoundException:
> > junit/jars/junit-20040725.jar
> > 	at org.apache.avalon.tools.model.Resource.get(Unknown Source)
> > 	at org.apache.avalon.tools.model.Resource.getArtifact(Unknown
> > Source)
> > 	at org.apache.avalon.tools.model.Resource.getArtifact(Unknown
> > Source)
> > 	at org.apache.avalon.tools.model.Resource.getPath(Unknown
> Source)
> > 	at org.apache.avalon.tools.tasks.JavacTask.execute(Unknown
> Source)
> > 	at
> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > 	at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:
> > 39)
> > 	at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Im
> > pl.java:25)
> > 	at java.lang.reflect.Method.invoke(Method.java:324)
> > 	at
> >
>
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:9
> 5)
> > 	at org.apache.tools.ant.Task.perform(Task.java:366)
> > 	at org.apache.tools.ant.Target.execute(Target.java:337)
> > 	at org.apache.tools.ant.Target.performTasks(Target.java:365)
> > 	at
> > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1218)
> > 	at org.apache.tools.ant.Project.executeTarget(Project.java:1188)
> > 	at
> org.apache.tools.ant.Project.executeTargets(Project.java:1060)
> > 	at org.apache.tools.ant.Main.runBuild(Main.java:673)
> > 	at org.apache.tools.ant.Main.startAnt(Main.java:188)
> > 	at org.apache.tools.ant.Main.start(Main.java:151)
> > 	at org.apache.tools.ant.Main.main(Main.java:241)
> > Caused by: java.io.FileNotFoundException:
> junit/jars/junit-20040725.jar
> > 	... 21 more
> > --- Nested Exception ---
> > java.io.FileNotFoundException: junit/jars/junit-20040725.jar
> > 	at org.apache.avalon.tools.model.Resource.get(Unknown Source)
> > 	at org.apache.avalon.tools.model.Resource.getArtifact(Unknown
> > Source)
> > 	at org.apache.avalon.tools.model.Resource.getArtifact(Unknown
> > Source)
> > 	at org.apache.avalon.tools.model.Resource.getPath(Unknown
> Source)
> > 	at org.apache.avalon.tools.tasks.JavacTask.execute(Unknown
> Source)
> > 	at
> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > 	at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:
> > 39)
> > 	at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Im
> > pl.java:25)
> > 	at java.lang.reflect.Method.invoke(Method.java:324)
> > 	at
> >
>
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:9
> 5)
> > 	at org.apache.tools.ant.Task.perform(Task.java:366)
> > 	at org.apache.tools.ant.Target.execute(Target.java:337)
> > 	at org.apache.tools.ant.Target.performTasks(Target.java:365)
> > 	at
> > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1218)
> > 	at org.apache.tools.ant.Project.executeTarget(Project.java:1188)
> > 	at
> org.apache.tools.ant.Project.executeTargets(Project.java:1060)
> > 	at org.apache.tools.ant.Main.runBuild(Main.java:673)
> > 	at org.apache.tools.ant.Main.startAnt(Main.java:188)
> > 	at org.apache.tools.ant.Main.start(Main.java:151)
> > 	at org.apache.tools.ant.Main.main(Main.java:241)
> >
> > Total time: 1 second
> > ---------------------------------------------
> > --
> > Gump E-mail Identifier (within run) #86.
> > Produced by Gump 2.1.0-alpha-0002.
> > [Run (20040725 00:00:28, brutus:brutus-public:20040725 00:00:28)]
> > http://brutus.apache.org/gump/public/index.html
> > http://brutus.apache.org/gump/public/options.html
> >
> > --
> > Apache Gump
> > http://gump.apache.org/ [Instance: brutus]
> >
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message