Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Mithila Paineni

Greenhorn
+ Follow
since Jun 18, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mithila Paineni

Its an IDE like Eclipse we need to plug in Websphere 6.1 to IBM Websphere AST.I tried setting all the variable slike PATH, CLASSPATH, HANT_HONMe and JAVA_HOME


set PATH=C:\Program Files\IBM WAS ASTV6.1\eclipse\plugins\org.apache.ant_1.6.5\bin;%PATH%;

set ANT_HOME=C:\Program Files\IBM WAS ASTV6.1\eclipse\plugins\org.apache.ant_1.6.5

set JAVA_HOME=""C:\Program Files\IBMWAS Express6.1\java""

set CLASSPATH=C:\Program Files\IBM WAS ASTV6.1\eclipse\plugins\org.apache.ant_1.6.5\lib\ant.jar;C:\Program Files\IBMWAS Express6.1\java\lib\tools.jar;%CLASSPATH%

I'm getting th same error, If any one can help me on this.

Thanks,-Mithila
13 years ago
Hi Jeanne,

Thanks for quick reply.

I'm running Ant from IBM Websphere Application Server Toolkit 6.1.1.4 and Websphere 6.1

I'm running under same JRE as the workspace.

Thanks,-Midhila
13 years ago
Hi,

I'm able to create Ear using WSAD 5.1.
I'm migrating to Websphere Application server 6.1.
I'm using IBM WAS express v6.1 and AST v6.1.4, and Java version = J2RE 1.5.0 and EJB 2.0 & Ant 1.6.5, I'm able to run the application with AST, while creating ear using ANT script i'm getting the following error.

Buildfile: C:\PModelRel54View\mpainen_PricingModel_CMODS_Development_3\CMODS\PricingModel\build.xml
clean:
[delete] Deleting directory C:\pricingmodelEar\output
[delete] Deleting directory C:\pricingmodelEar\log
builddir:
[mkdir] Created dir: C:\pricingmodelEar\output
[mkdir] Created dir: C:\pricingmodelEar\log
init:
[echo] Pricing Model Build started at 2008-06-18.10.04.54...
[echo] Build Type : UAT
[echo] Base Folder : C:/PModelRel54View/mpainen_PricingModel_CMODS_Development_3/CMODS
[echo] Output Folder :c:/pricingmodelEar/output
[echo] Log Folder : c:/pricingmodelEar/log
buildAll:
init:
[echo] Build of PricingModelFactorProcessing started at 2008-06-18.10.04.54 for environment: UAT
[echo] The base directory is C:/PModelRel54View/mpainen_PricingModel_CMODS_Development_3/CMODS
getProjectData:

BUILD FAILED
C:\PModelRel54View\mpainen_PricingModel_CMODS_Development_3\CMODS\PricingModel\build.xml:24: The following error occurred while executing this line:
C:\PModelRel54View\mpainen_PricingModel_CMODS_Development_3\CMODS\PricingModel\ProjectBuild.xml:13: Could not create task or type of type: getProjectData.

Ant could not find the task or a class this task relies upon.

This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'getProjectData'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and the JAR file and/or libraries
implementing the functionality were not found at the time you
yourself built your installation of Ant from the Ant sources.
Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
task and make sure it contains more than merely a META-INF/MANIFEST.MF.
If all it contains is the manifest, then rebuild Ant with the needed
libraries present in ${ant.home}/lib/optional/ , or alternatively,
download a pre-built release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
- You are attempting to use a task defined using
<presetdef> or <macrodef> but have spelt wrong or not
defined it at the point of use

Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath

Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.

Total time: 531 milliseconds


Can any one help me out please

I have build.properties and build.xml and ProjectBuild.xml the 3 files i have for Ant script.


Thanks,-Mithila
13 years ago