Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Ant script variables within WebSphere

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I'm writing an Ant script to run within WebSphere WSAD 5.1. I notice that the variables described in the WebSphere help documentation regarding External Tools are not being loaded at Ant run time, although the variable ${basedir} *IS* being loaded.

For example, in the Ant script I have:

<echo message="${workspace_loc}"/>
<echo message="${project_loc}"/>
<echo message="${container_loc}"/>
<echo message="${resource_loc}"/>
<echo message="${project_path}"/>
<echo message="${container_path}"/>

<echo message="${basedir}"/>
<echo message="${java.vm.name}"/>


Here's the result:

[echo] ${workspace_loc} (these aren't correct)
[echo] ${project_loc}
[echo] ${container_loc}
[echo] ${resource_loc}
[echo] ${project_path}
[echo] ${container_path}


[echo] C:\projects\Webdisclosure (These last two ARE correct)
[echo] IBM J9SE VM

Does anyone know why the 6 variables above aren't being loaded at run time by WebSphere prior to invoking Ant? Do I have something mis-configured?

Thanks,
Robert
 
It's exactly the same and completely different as this tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic