Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-ant-dev] org.apache.ant's dependencies?


Naresh
You could do this by programmatically modifying the preferences:
        call AntCorePreferences.setCustomURLs(URL[] urls) where urls is the collection of pre-exising URLs (maybe none) plus the URLs for the JARs you wish to add to         the Ant runtime classpath.

I curious on how you are going to get closure on the set of JARs that your users will require...or is it just a best guess?

Darins


"Sikha, Naresh" <Naresh.Sikha@xxxxxxxxxx>
Sent by: platform-ant-dev-admin@xxxxxxxxxxx

02/07/03 03:08 PM
Please respond to platform-ant-dev

       
        To:        "'platform-ant-dev@xxxxxxxxxxx'" <platform-ant-dev@xxxxxxxxxxx>
        cc:        
        Subject:        RE: [platform-ant-dev] org.apache.ant's dependencies?



>You can do this both programmatically...
 
Can you explain in more detail, or point to documentation?
 
Any solution that can obviate our customers' having to modify preferences is the favorable approach.
 
Running vanilla Ant on Unix (or a Windows network drive) allows a system administrator to provide dependent jars into the globally shared ${ant.home}/lib directory. :)
 
Thanks.
 
-Naresh
 
-----Original Message-----
From:
Darin Swanson [mailto:Darin_Swanson@xxxxxxxxxx]
Sent:
Friday, February 07, 2003 12:41 PM
To:
platform-ant-dev@xxxxxxxxxxx
Subject:
Re: [platform-ant-dev] org.apache.ant's dependencies?


You will need to set the runtime classpath for Ant.

You can do this both programmatically or from the Ant Runtime preferences (globally) or on a particular Ant launch configuration.


There are not plugins in Eclipse for all of the dependencies to satisfy the tasks in org.apache.ant.

It is up to the user (as it is from the Ant commandline) to set up the Ant runtime classpath to satisfy the dependencies for the tasks the user wishes to execute.


HTH

Darins



"Sikha, Naresh" <Naresh.Sikha@xxxxxxxxxx>
Sent by: platform-ant-dev-admin@xxxxxxxxxxx

02/07/03 02:23 PM
Please respond to platform-ant-dev

       
       To:        "'platform-ant-dev@xxxxxxxxxxx'" <platform-ant-dev@xxxxxxxxxxx>

       cc:        

       Subject:        [platform-ant-dev] org.apache.ant's dependencies?




Hello Ant Core.

 

How can I execute tasks in Ant such as <style/> within Eclipse? Here's my problem. It seems that any plugin that has a  task defined that has classpath dependencies needs to express dependencies on the appropriate plugin that has those classes.

 

Specifically <style/> needs xalan, correct? But the org.apache.ant plugin doesn't have a dependency upon a xalan project.

 

Your help in this matter is greatly appreciated.

 

Thanks.

 

-Naresh

Naresh Sikha
Senior Staff, Technology Solutions

Charles Schwab & Co., Inc.

215 Fremont Street / SF215FMT-06-274

San Francisco, CA 94105-2306

W: 415-667-8071

E:
naresh.sikha@xxxxxxxxxx
WARNING
: All email sent to this address will be received by the Charles Schwab & Co., Inc. corporate email system and is subject to archival and review by someone other than the recipient.


Back to the top