ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nan Null" <>
Subject Re: Classpath with a path located on a distant server
Date Tue, 30 Dec 2008 20:02:15 GMT
Add to Martin's suggestion, if none of his solutions fits your case,
then you can always look into class loader.  A class loader can load
classes from anywhere, so that will guarantee to work.  If you define
a task, here's a snippet I got off the net:

<taskdef name="isolatedLoader"
<isolatedLoader ref="loader">
      <classpath path="....."/>
<taskdef name="task name" classname="class name" loaderref="loader"/>

On Tue, Dec 30, 2008 at 10:29 AM, Martin Gainty <> wrote:
> if you want to browse you will need an directory access mechanism such as ActiveDirectory
for Windows
> or Samba for Unix
> (you will need to supply the authentication credentials)
> you can always try scp
> or sftp
> (provided you have the authentication credentials)
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official business of Sender.
This transmission is of a confidential nature and Sender does not endorse distribution to
any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission.
>> Date: Tue, 30 Dec 2008 14:35:01 +0000
>> From:
>> Subject: Classpath with a path located on a distant server
>> To:
>> Hi everybody!
>> Excuse me to disturb.
>> I would like to know if I can use Ant to build classes using library, classes located
on distant server without importing them. I.E. is it possible to set a classpath with a path
located on a distant server?
>> PS: Perhaps this is a Java issue and not an Ant one. I don't even know if I can set
a distant path for java compiling purpose without using Ant...
>> Thanks for your help,
>> Best regards,
>> Guillaume
>> (English, Fran├žais, Italian, Deutsch understood)
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:
> _________________________________________________________________
> Send e-mail faster without improving your typing skills.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message