• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Ant and Telenet

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to build a ant scrip that will run some oracle script using telenet. I have downloaded the netcomponents jar and I have added it my class path. Everytime I try to use the telnet tag I get Unexpected element "telnet". I am using winNT 4.0 sp 6 and ant 1.5. Can sombody help me?
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by joe abate:
I am trying to build a ant scrip that will run some oracle script using telenet. I have downloaded the netcomponents jar and I have added it my class path. Everytime I try to use the telnet tag I get Unexpected element "telnet". I am using winNT 4.0 sp 6 and ant 1.5. Can sombody help me?


Your telnet needs to be part of a target, something like this:

I also have the NetComponents.jar in my ANT_CLASSPATH and it is installed in %ANT_HOME%\lib\ext. Hope this helps.
 
joe abate
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the help I added it to the ANT_CLASSPATH and it worked. I guss I missed one.
 
Humans and their filthy friendship brings nothing but trouble. My only solace is this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic