• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

axis-ant.jar & Eclipse

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would like to use the ant tasks supplied by the axis folks in my Eclipse java project.

I have tried adding axis-ant.jar to classpath via the Preferences -> Ant -> Runtime -> Classpath, tried adding the entire axis/lib directory to the classpath.

I get the old 'Could not create task or type of type: axis-~~'.

How can I make the axis ant tasks visible to the ant plug-in?
[ June 24, 2004: Message edited by: Keith Tingle ]
 
Keith Tingle
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In case anyone has problems getting this stuff to work here is how I did:

Grabbed Ant 1.6, Windows->Prefrences->Ant->Runtime removed the ant plugin jars and added 29 ant jars from ANT_HOME/lib, EXCEPT the two xml jars (xercesImpl.jar & xml-apis.jar). Then set ANT_HOME to my ant dist directory (C:\apache-ant-1.6.0\lib). That got Ant 1.6 working.

Then I added the following to the top of my build.xml file:

<property name="axis.home" location="C:\Lib\axis-1_1"/>
<property name="target.server" value="localhost"/>
<property name="target.port" value="8080"/>

<path id="axis.classpath">
<fileset dir="${axis.home}/lib">
<include name="**/*.jar" />
</fileset>
</path>

<taskdef resource="axis-tasks.properties" classpathref="axis.classpath"/>

and booom everything works, I never had to add axis-ant.jar to the ant runtime classpath in Eclipse which is good for moving the project about.

Hope this saves someone the few hours I put into it.

[ June 25, 2004: Message edited by: Keith Tingle ]

[ June 25, 2004: Message edited by: Keith Tingle ]
[ June 25, 2004: Message edited by: Keith Tingle ]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic