You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Stephen McConnell <mc...@apache.org> on 2004/07/25 13:50:34 UTC

RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

I'm guessing that this is a result of the recent changes to handle
temporary files as part of the Resource.get(...) operation.

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
> ---------------------------------------------
> 
> 
> 
> 
> To subscribe to this information via syndicated feeds:
>  RSS: http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-
> magic/rss.xml
>  Atom: http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-
> magic/atom.xml
> 
> 
> --
> 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@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


RE: RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by Stephen McConnell <mc...@apache.org>.

> -----Original Message-----
> From: Antoine Levy-Lambert [mailto:antoine@gmx.de]
> Sent: Sunday, July 25, 2004 16:54
> To: dev@ant.apache.org
> Subject: Fwd: RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic
failed
> 
> I found this on the gump mailing list.
> Can it be that we [ant] broke something  ?

:-)

I've been digging around trying to figure this one out and I can't see
anything that could suggest otherwise (but I didn't want to go jumping
over to the ant list without checking here first).

Have there been any changes to system property handling in the last few
days that would potentially trigger a problem like this?

Cheers, Steve.





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


Fwd: RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by Antoine Levy-Lambert <an...@gmx.de>.
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" <mc...@apache.org>
To: "'Gump code and data'" <ge...@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


Re: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 27 Jul 2004, Stefan Bodewig <bo...@apache.org> wrote:

> I recommend "append" which is more or less identical to what Ant
> would do if the property wasn't there at all.

"last", not "append", sorry.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by "Adam R. B. Jack" <aj...@apache.org>.
> You set build.sysclasspath to an empty string and this makes Gumpy
> omit the equals sign on the command line (is this a bug?).  This in
> turn makes Ant eat
> -Dgump.resource.junit=/usr/local/gump/public/workspace/dist/junit/junit.ja
r
> as the value for the build.sysclasspath property.
>
> Solution: Use something else but "" for build.sysclasspath's value.  I
> recommend "append" which is more or less identical to what Ant would
> do if the property wasn't there at all.
>
Same bug as last, "" is effectively None, but I think I've fixed it (for
when I next commit).

regards

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by Stephen McConnell <mc...@apache.org>.

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Tuesday, July 27, 2004 18:15
> To: general@gump.apache.org
> Subject: Re: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed
> 
> On Sun, 25 Jul 2004, Stephen McConnell <mc...@apache.org> wrote:
> 
> > More thinking - I'm starting to suspect that this may be a gump
> > issue.  The error is question is related to the *last* system
> > property supplied by gump to magic.
> 
> I see it, I see it!!!  OK, enough enthusiasm.

LOL

:-)

> You set build.sysclasspath to an empty string and this makes Gumpy
> omit the equals sign on the command line (is this a bug?).  This in
> turn makes Ant eat
> -
>
Dgump.resource.junit=/usr/local/gump/public/workspace/dist/junit/junit.j
ar
> as the value for the build.sysclasspath property.

Yep - makes sense.
I'm working though getting a bunch of things installed on a new machine
and don't have cvs up yet - so hint, hint, feel free to make the change.

Cheers, Steve.


> Solution: Use something else but "" for build.sysclasspath's value.  I
> recommend "append" which is more or less identical to what Ant would
> do if the property wasn't there at all.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by Stefan Bodewig <bo...@apache.org>.
On Sun, 25 Jul 2004, Stephen McConnell <mc...@apache.org> wrote:

> More thinking - I'm starting to suspect that this may be a gump
> issue.  The error is question is related to the *last* system
> property supplied by gump to magic.

I see it, I see it!!!  OK, enough enthusiasm.

You set build.sysclasspath to an empty string and this makes Gumpy
omit the equals sign on the command line (is this a bug?).  This in
turn makes Ant eat
-Dgump.resource.junit=/usr/local/gump/public/workspace/dist/junit/junit.jar
as the value for the build.sysclasspath property.

Solution: Use something else but "" for build.sysclasspath's value.  I
recommend "append" which is more or less identical to what Ant would
do if the property wasn't there at all.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 26 Jul 2004, Stephen McConnell <mc...@apache.org> wrote:

> I'll can detect is we are running in a Gump context so I'll use this
> to trip a listing of system properties and project properties as
> well.

<echoproperties/> should do (but then again, since Ant is running with
-debug, the info is supposed to be in the log anyway).

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by Stephen McConnell <mc...@apache.org>.

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Monday, July 26, 2004 10:36
> To: general@gump.apache.org
> Subject: Re: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed
> 
> On Sun, 25 Jul 2004, Stephen McConnell <mc...@apache.org> wrote:
> 
> > More thinking - I'm starting to suspect that this may be a gump
> > issue.  The error is question is related to the *last* system
> > property supplied by gump to magic.  All other properties prior to
> > the last property were handled correctly.
> >
> > Does this ring any bells with anyone?
> 
> Not really.
> 
> Can you insert some <echo>s right in front of the problematic line so
> we can see whether Ant sees the correct value for the property?

Will do.

I'll can detect is we are running in a Gump context so I'll use this to
trip a listing of system properties and project properties as well.
That should give us a clue as to where the problem is.

Steve.


> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by Stefan Bodewig <bo...@apache.org>.
On Sun, 25 Jul 2004, Stephen McConnell <mc...@apache.org> wrote:

> More thinking - I'm starting to suspect that this may be a gump
> issue.  The error is question is related to the *last* system
> property supplied by gump to magic.  All other properties prior to
> the last property were handled correctly.
> 
> Does this ring any bells with anyone?

Not really.

Can you insert some <echo>s right in front of the problematic line so
we can see whether Ant sees the correct value for the property?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by Stephen McConnell <mc...@apache.org>.

More thinking - I'm starting to suspect that this may be a gump issue.
The error is question is related to the *last* system property supplied
by gump to magic.  All other properties prior to the last property were
handled correctly.  

Does this ring any bells with anyone?

Steve.

http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-magic/gum
p_work/build_avalon-tools_avalon-tools-magic.html


> -----Original Message-----
> From: Stephen McConnell [mailto:mcconnell@apache.org]
> Sent: Sunday, July 25, 2004 13:54
> To: 'Gump code and data'
> Subject: RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed
> 
> 
> 
> > -----Original Message-----
> > From: Stephen McConnell [mailto:mcconnell@apache.org]
> > Sent: Sunday, July 25, 2004 13:51
> > To: 'Avalon Developers List'
> > Cc: general@gump.apache.org
> > Subject: RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed
> >
> >
> > I'm guessing that this is a result of the recent changes to handle
> > temporary files as part of the Resource.get(...) operation.
> 
> Actually - no.
> 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
> > > ---------------------------------------------
> > >
> > >
> > >
> > >
> > > To subscribe to this information via syndicated feeds:
> > >  RSS:
> http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-
> > > magic/rss.xml
> > >  Atom:
> http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-
> > > magic/atom.xml
> > >
> > >
> > > --
> > > 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@avalon.apache.org
> > > For additional commands, e-mail: dev-help@avalon.apache.org
> >
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> > For additional commands, e-mail: general-help@gump.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org




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


RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by Stephen McConnell <mc...@apache.org>.

More thinking - I'm starting to suspect that this may be a gump issue.
The error is question is related to the *last* system property supplied
by gump to magic.  All other properties prior to the last property were
handled correctly.  

Does this ring any bells with anyone?

Steve.

http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-magic/gum
p_work/build_avalon-tools_avalon-tools-magic.html


> -----Original Message-----
> From: Stephen McConnell [mailto:mcconnell@apache.org]
> Sent: Sunday, July 25, 2004 13:54
> To: 'Gump code and data'
> Subject: RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed
> 
> 
> 
> > -----Original Message-----
> > From: Stephen McConnell [mailto:mcconnell@apache.org]
> > Sent: Sunday, July 25, 2004 13:51
> > To: 'Avalon Developers List'
> > Cc: general@gump.apache.org
> > Subject: RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed
> >
> >
> > I'm guessing that this is a result of the recent changes to handle
> > temporary files as part of the Resource.get(...) operation.
> 
> Actually - no.
> 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
> > > ---------------------------------------------
> > >
> > >
> > >
> > >
> > > To subscribe to this information via syndicated feeds:
> > >  RSS:
> http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-
> > > magic/rss.xml
> > >  Atom:
> http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-
> > > magic/atom.xml
> > >
> > >
> > > --
> > > 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@avalon.apache.org
> > > For additional commands, e-mail: dev-help@avalon.apache.org
> >
> >
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> > For additional commands, e-mail: general-help@gump.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed

Posted by Stephen McConnell <mc...@apache.org>.

> -----Original Message-----
> From: Stephen McConnell [mailto:mcconnell@apache.org]
> Sent: Sunday, July 25, 2004 13:51
> To: 'Avalon Developers List'
> Cc: general@gump.apache.org
> Subject: RE: [GUMP@brutus]: avalon-tools/avalon-tools-magic failed
> 
> 
> I'm guessing that this is a result of the recent changes to handle
> temporary files as part of the Resource.get(...) operation.

Actually - no.  
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
> > ---------------------------------------------
> >
> >
> >
> >
> > To subscribe to this information via syndicated feeds:
> >  RSS:
http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-
> > magic/rss.xml
> >  Atom:
http://brutus.apache.org/gump/public/avalon-tools/avalon-tools-
> > magic/atom.xml
> >
> >
> > --
> > 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@avalon.apache.org
> > For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org