Thanks, that really helped.  That variable has the right value for the
classpath, and with

    <ant:classpath>
        <ant:path path="${pom.dependencyClasspath}"/>
    </ant:classpath>

...java.exe appears to get the correct -classpath argument (according to
'maven -X').

However: I'm still seeing NoClassDefFoundError.  Is it possible the
spaces in my classpath elements might cause this (i.e. the usual
Micro$oft C:\Documents and Settings\ thing)?

David

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 25, 2004 10:20 PM
To: [EMAIL PROTECTED]
Cc: Parsons, David
Subject: SV: classpath issue with calling ant:java


Try this instead:

<ant:echo>${pom.dependencyClasspath}</ant:echo>

Harald.

_________________________
Harald Ommang, Delfi Data AS


> -----Opprinnelig melding-----
> Fra: Parsons, David [mailto:[EMAIL PROTECTED]
> Sendt: 26. august 2004 01:48
> Til: Maven Users List
> Emne: RE: classpath issue with calling ant:java
> 
> 
> > > Any other ideas?
> > 
> > I think I had the syntax wrong.
> > 
> > maven.dependency.classpath is not a variable, it's a path.  So
> printing it out won't show anything.
> > 
> > try this:
> > 
> > <path refid="maven.dependency.classpath"/>
> 
> Tried both that and <ant:path refid="maven.dependency.classpath"/>, to

> no avail (NoClassDefFoundError).
> 
> Thanks for pointing out that maven.dependency.classpath is a path.  Is

> there any way to view its value at runtime?
> 
> David
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR
Group cannot accept any payment orders or other legally binding
correspondence with customers as a part of an email. 

This email message has been virus checked by the virus programs used in
the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *

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

Reply via email to