Re: resources on the classpath

2007-10-22 Thread Steve Loughran

Stefan Bodewig wrote:

On Fri, 19 Oct 2007, Steve Loughran <[EMAIL PROTECTED]> wrote:


Possibilities
 -we arent setting up the properties file right
 -its not being read off the classpath
 -the smartfrog-18102007.jar isnt where it should be


Today the smartfrog build says:

sfJar:
  [jar] Building jar: 
/srv/gump/public/workspace/smartfrog/smartfrog/dist/lib/smartfrog-21102007.jar

while the smartfrog components build seems to be looking for 


/srv/gump/public/workspace/smartfrog/smartfrog/dist/lib/smartfrog-3.12.007dev.jar

in smartfrog.classpath while java.class.path is empty.  Somewhere
along the way you seem to be losing the CLASSPATH settings.


-I'd have expected  to not worry about the 
smartfrog.classpath and just pass in the java classpath

. If that is empty, then we do have a problem

I'm using Ivy to choreograph the order of building things, and then 
. I wonder if that is the cause


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: resources on the classpath

2007-10-21 Thread Stefan Bodewig
On Fri, 19 Oct 2007, Steve Loughran <[EMAIL PROTECTED]> wrote:

> Possibilities
>  -we arent setting up the properties file right
>  -its not being read off the classpath
>  -the smartfrog-18102007.jar isnt where it should be

Today the smartfrog buil days:

sfJar:
  [jar] Building jar: 
/srv/gump/public/workspace/smartfrog/smartfrog/dist/lib/smartfrog-21102007.jar

while the smartfrog components build seems to be looking for 

/srv/gump/public/workspace/smartfrog/smartfrog/dist/lib/smartfrog-3.12.007dev.jar

in smartfrog.classpath while java.class.path is empty.  Somewhere
along the way you seem to be losing the CLASSPATH settings.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



resources on the classpath

2007-10-19 Thread Steve Loughran
Now that I've patched Ant to fix Ivy, our components build is failing 
instead of the root smartfrog build


http://vmgump.apache.org/gump/public/smartfrog/smartfrog-components/gump_work/build_smartfrog_smartfrog-components.html


bind-to-smartfrog:
 [property] Unable to find resource 
org/smartfrog/smartfrog-version.properties


BUILD FAILED
/srv/gump/public/workspace/smartfrog/build.xml:534: The following error 
occurred while executing this line:
/srv/gump/public/workspace/smartfrog/common.xml:237: SmartFrog 
distribution not found. Please create the SmartFrog distribution first.
Alternatively, make sure that this project is configured to locate the 
distribution

correctly.


What's happening is we're looking for a properties file on the 
classpath, that drives the version marking for everything downstream we 
build (which knows which version it got compiled against).





   
   
   




SmartFrog distribution not found. Please create the SmartFrog 
distribution first.
Alternatively, make sure that this project is configured to locate the 
distribution

correctly.

smartfrog.classpath=
 ${toString:smartfrog.classpath}

build.sysclasspath=${build.sysclasspath}

java.class.path=
  ${java.class.path}


so, clearly org/smartfrog/smartfrog-version.properties isnt on the 
classpath. The usual problem, things arent set up right. But look at 
what is on the classpath: 
/srv/gump/public/workspace/smartfrog/smartfrog/dist/lib/smartfrog-18102007.jar

This is meant to be the file that contains the properties

Possibilities
 -we arent setting up the properties file right
 -its not being read off the classpath
 -the smartfrog-18102007.jar isnt where it should be

Any ideas?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]