You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Marcus <ma...@criticalpointsoftware.com> on 2001/12/20 01:57:02 UTC
Perforce Optional Tasks
I have put in the optional.jar and the oro.jar file in /ant/lib and I still get:
BUILD FAILED
p:\cpdev\main\src\run_build.xml:23: Could not create task of type: classpath. Co
mmon solutions are to use taskdef to declare your task, or, if this is an option
al task, to put the optional.jar in the lib directory of your ant installation (
ANT_HOME).
at org.apache.tools.ant.UnknownElement.makeTask(UnknownElement.java:153)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
a:83)
at org.apache.tools.ant.Task.perform(Task.java:216)
at org.apache.tools.ant.Target.execute(Target.java:184)
at org.apache.tools.ant.Target.performTasks(Target.java:202)
at org.apache.tools.ant.Project.executeTarget(Project.java:601)
at org.apache.tools.ant.Project.executeTargets(Project.java:560)
at org.apache.tools.ant.Main.runBuild(Main.java:454)
at org.apache.tools.ant.Main.start(Main.java:153)
at org.apache.tools.ant.Main.main(Main.java:176)
Thanks
Marcus
Re: Perforce Optional Tasks
Posted by Marcus <ma...@criticalpointsoftware.com>.
yes, but i thought it wa sin the optional.jar and not longer needed?
----- Original Message -----
From: "James Bullington" <sh...@yahoo.com>
To: "Ant Users List" <an...@jakarta.apache.org>
Sent: Thursday, December 20, 2001 10:06 AM
Subject: Re: Perforce Optional Tasks
> I'm not a perforce expert, but did you define the taskdef as below?
>
> <taskdef name="p4sync"
> classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Sync" />
>
> --Jim
>
> --- Marcus <ma...@criticalpointsoftware.com> wrote:
> > Jim,
> >
> > I do that and now I get:
> > $ ant -buildfile run_build.xml init
> > Buildfile: run_build.xml
> >
> > init:
> > [echo] syncing
> >
> > BUILD FAILED
> >
> > p:\cpdev\main\src\run_build.xml:29: Could not create task of type:
> > p4Sync.
> > Commo
> > n solutions are to use taskdef to declare your task, or, if this is
> > an
> > optional
> > task, to put the optional.jar in the lib directory of your ant
> > installation
> > (ANT
> > _HOME).
> >
> > Total time: 0 seconds
> >
> > ----- Original Message -----
> > From: "James Bullington" <sh...@yahoo.com>
> > To: "Ant Users List" <an...@jakarta.apache.org>
> > Sent: Thursday, December 20, 2001 9:37 AM
> > Subject: Re: Perforce Optional Tasks
> >
> >
> > > Did you remember to put these files in your class path? When I
> > first
> > > started to use optional.jar, this was my mistake.
> > >
> > > i.e. you need:
> > >
> > > CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar
> > >
> > > Hope this helps,
> > > Jim
> > >
> > > --- Marcus <ma...@criticalpointsoftware.com> wrote:
> > > > I have put in the optional.jar and the oro.jar file in /ant/lib
> > and I
> > > > still get:
> > > > BUILD FAILED
> > > >
> > > > p:\cpdev\main\src\run_build.xml:23: Could not create task of
> > type:
> > > > classpath. Co
> > > > mmon solutions are to use taskdef to declare your task, or, if
> > this
> > > > is an option
> > > > al task, to put the optional.jar in the lib directory of your ant
> > > > installation (
> > > > ANT_HOME).
> > > > at
> > > >
> > org.apache.tools.ant.UnknownElement.makeTask(UnknownElement.java:153)
> > > >
> > > > at
> > > >
> > org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
> > > > a:83)
> > > > at org.apache.tools.ant.Task.perform(Task.java:216)
> > > > at org.apache.tools.ant.Target.execute(Target.java:184)
> > > > at
> > org.apache.tools.ant.Target.performTasks(Target.java:202)
> > > > at
> > > > org.apache.tools.ant.Project.executeTarget(Project.java:601)
> > > > at
> > > > org.apache.tools.ant.Project.executeTargets(Project.java:560)
> > > > at org.apache.tools.ant.Main.runBuild(Main.java:454)
> > > > at org.apache.tools.ant.Main.start(Main.java:153)
> > > > at org.apache.tools.ant.Main.main(Main.java:176)
> > > >
> > > > Thanks
> > > > Marcus
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Check out Yahoo! Shopping and Yahoo! Auctions for all of
> > > your unique holiday gifts! Buy at http://shopping.yahoo.com
> > > or bid at http://auctions.yahoo.com
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>
> =====
> "Those who live in the shelter of the Most High will find rest in the
shadow of the Almighty.
> This I declare of the Lord: He alone is my refuge, my place of safety; he
is my God, and I am trusting him."
>
> Psalms 91:1-2 (New Living Translation)
>
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by Marcus <ma...@criticalpointsoftware.com>.
oh man, what a dummy.
THANKS and happy x-mas and merry new year.
-duh
----- Original Message -----
From: "Diane Holt" <ho...@yahoo.com>
To: "Ant Users List" <an...@jakarta.apache.org>
Sent: Thursday, December 20, 2001 2:17 PM
Subject: Re: Perforce Optional Tasks
> --- Marcus <ma...@criticalpointsoftware.com> wrote:
> > that is what i thought but then i get:
> >
> > p:\cpdev\main\src\run_build.xml:27: Problem exec'ing P4 command: error:
> > //cpdev//main/src/... - no such file(s).
>
> But that's not because <p4sync> isn't defined -- in fact, it is, and the
> above is the output from 'p4', telling you there are no such files at
> //cpdev//main/src/...
>
> I suspect it's the double slashes before main, and you really meant to
> specify //cpdev/main/src/...
>
> Diane
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by Diane Holt <ho...@yahoo.com>.
--- Marcus <ma...@criticalpointsoftware.com> wrote:
> that is what i thought but then i get:
>
> p:\cpdev\main\src\run_build.xml:27: Problem exec'ing P4 command: error:
> //cpdev//main/src/... - no such file(s).
But that's not because <p4sync> isn't defined -- in fact, it is, and the
above is the output from 'p4', telling you there are no such files at
//cpdev//main/src/...
I suspect it's the double slashes before main, and you really meant to
specify //cpdev/main/src/...
Diane
=====
(holtdl@yahoo.com)
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by Marcus <ma...@criticalpointsoftware.com>.
Hi Diane,
that is what i thought but then i get:
p:\cpdev\main\src\run_build.xml:27: Problem exec'ing P4 command: error:
//cpdev/
/main/src/... - no such file(s).
at
org.apache.tools.ant.taskdefs.optional.perforce.P4Base.execP4Command(
P4Base.java:180)
at
org.apache.tools.ant.taskdefs.optional.perforce.P4Sync.execute(P4Sync
.java:115)
at org.apache.tools.ant.Task.perform(Task.java:217)
at org.apache.tools.ant.Target.execute(Target.java:184)
at org.apache.tools.ant.Target.performTasks(Target.java:202)
at org.apache.tools.ant.Project.executeTarget(Project.java:601)
at org.apache.tools.ant.Project.executeTargets(Project.java:560)
at org.apache.tools.ant.Main.runBuild(Main.java:454)
at org.apache.tools.ant.Main.start(Main.java:153)
at org.apache.tools.ant.Main.main(Main.java:176)
here is the code:
<?xml version="1.0"?>
<project name="Mdb_v2" default="deploy" basedir=".">
<!-- RUN THE TESTS -->
<property name="src" value="java"/>
<property name="build" value="../classes"/>
<property name="java_deploy_dir" value="html/prototype/WEB-INF"/>
<property name="EE_DIR" value="p:/thirdparty/win32/runnable/jdk/ee/lib"/>
<property name="LOG" value="../build/lib/log4j.jar"/>
<property name="TEST1" value="../build/lib/junit.jar"/>
<property name="FONIX"
value="../build/lib/FTKAudio.jar;../../../build/lib/FTKTTSLV.jar;../../../bu
ild/lib/FTKTTSSV.jar;../../../build/lib/FTKUtils.jar"/>
<property name="SAXON"
value="../build/lib/xerces.jar;../../../build/lib/saxon.jar"/>
<property name="JLIB" value="../build/lib"/>
<property name="JDBCDRIVER" value="../build/lib/mysqlJdbcDriver.jar"/>
<property name="REPORT_TESTS_DIR" value="../java/cp_test/reports"/>
<property name="CLASSPATH"
value="${build};${SAXON};${LOG};${TEST1};${FONIX};${JLIB};${JDBCDRIVER}"/>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
<!-- Create the build directory structure for the release process, label,
backup, taring,etc -->
<!-- Create the the variables used by ant that is latest and greatest from
p4 -->
<p4sync force="yes" view="//cpdev//main/src/...">
</p4sync>
</target>
</project>
thx
mez
----- Original Message -----
From: "Diane Holt" <ho...@yahoo.com>
To: "Ant Users List" <an...@jakarta.apache.org>
Sent: Thursday, December 20, 2001 10:24 AM
Subject: Re: Perforce Optional Tasks
> --- James Bullington <sh...@yahoo.com> wrote:
> > I'm not a perforce expert, but did you define the taskdef as below?
> >
> > <taskdef name="p4sync"
> > classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Sync" />
>
> You shouldn't need to -- all the P4 tasks are already defined in the
> defaults.properties file.
>
> Diane
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by Diane Holt <ho...@yahoo.com>.
--- James Bullington <sh...@yahoo.com> wrote:
> I'm not a perforce expert, but did you define the taskdef as below?
>
> <taskdef name="p4sync"
> classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Sync" />
You shouldn't need to -- all the P4 tasks are already defined in the
defaults.properties file.
Diane
=====
(holtdl@yahoo.com)
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by James Bullington <sh...@yahoo.com>.
I'm not a perforce expert, but did you define the taskdef as below?
<taskdef name="p4sync"
classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Sync" />
--Jim
--- Marcus <ma...@criticalpointsoftware.com> wrote:
> Jim,
>
> I do that and now I get:
> $ ant -buildfile run_build.xml init
> Buildfile: run_build.xml
>
> init:
> [echo] syncing
>
> BUILD FAILED
>
> p:\cpdev\main\src\run_build.xml:29: Could not create task of type:
> p4Sync.
> Commo
> n solutions are to use taskdef to declare your task, or, if this is
> an
> optional
> task, to put the optional.jar in the lib directory of your ant
> installation
> (ANT
> _HOME).
>
> Total time: 0 seconds
>
> ----- Original Message -----
> From: "James Bullington" <sh...@yahoo.com>
> To: "Ant Users List" <an...@jakarta.apache.org>
> Sent: Thursday, December 20, 2001 9:37 AM
> Subject: Re: Perforce Optional Tasks
>
>
> > Did you remember to put these files in your class path? When I
> first
> > started to use optional.jar, this was my mistake.
> >
> > i.e. you need:
> >
> > CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar
> >
> > Hope this helps,
> > Jim
> >
> > --- Marcus <ma...@criticalpointsoftware.com> wrote:
> > > I have put in the optional.jar and the oro.jar file in /ant/lib
> and I
> > > still get:
> > > BUILD FAILED
> > >
> > > p:\cpdev\main\src\run_build.xml:23: Could not create task of
> type:
> > > classpath. Co
> > > mmon solutions are to use taskdef to declare your task, or, if
> this
> > > is an option
> > > al task, to put the optional.jar in the lib directory of your ant
> > > installation (
> > > ANT_HOME).
> > > at
> > >
> org.apache.tools.ant.UnknownElement.makeTask(UnknownElement.java:153)
> > >
> > > at
> > >
> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
> > > a:83)
> > > at org.apache.tools.ant.Task.perform(Task.java:216)
> > > at org.apache.tools.ant.Target.execute(Target.java:184)
> > > at
> org.apache.tools.ant.Target.performTasks(Target.java:202)
> > > at
> > > org.apache.tools.ant.Project.executeTarget(Project.java:601)
> > > at
> > > org.apache.tools.ant.Project.executeTargets(Project.java:560)
> > > at org.apache.tools.ant.Main.runBuild(Main.java:454)
> > > at org.apache.tools.ant.Main.start(Main.java:153)
> > > at org.apache.tools.ant.Main.main(Main.java:176)
> > >
> > > Thanks
> > > Marcus
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Check out Yahoo! Shopping and Yahoo! Auctions for all of
> > your unique holiday gifts! Buy at http://shopping.yahoo.com
> > or bid at http://auctions.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
=====
"Those who live in the shelter of the Most High will find rest in the shadow of the Almighty.
This I declare of the Lord: He alone is my refuge, my place of safety; he is my God, and I am trusting him�"
Psalms 91:1-2 (New Living Translation)
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by Marcus <ma...@criticalpointsoftware.com>.
Jim,
I do that and now I get:
$ ant -buildfile run_build.xml init
Buildfile: run_build.xml
init:
[echo] syncing
BUILD FAILED
p:\cpdev\main\src\run_build.xml:29: Could not create task of type: p4Sync.
Commo
n solutions are to use taskdef to declare your task, or, if this is an
optional
task, to put the optional.jar in the lib directory of your ant installation
(ANT
_HOME).
Total time: 0 seconds
----- Original Message -----
From: "James Bullington" <sh...@yahoo.com>
To: "Ant Users List" <an...@jakarta.apache.org>
Sent: Thursday, December 20, 2001 9:37 AM
Subject: Re: Perforce Optional Tasks
> Did you remember to put these files in your class path? When I first
> started to use optional.jar, this was my mistake.
>
> i.e. you need:
>
> CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar
>
> Hope this helps,
> Jim
>
> --- Marcus <ma...@criticalpointsoftware.com> wrote:
> > I have put in the optional.jar and the oro.jar file in /ant/lib and I
> > still get:
> > BUILD FAILED
> >
> > p:\cpdev\main\src\run_build.xml:23: Could not create task of type:
> > classpath. Co
> > mmon solutions are to use taskdef to declare your task, or, if this
> > is an option
> > al task, to put the optional.jar in the lib directory of your ant
> > installation (
> > ANT_HOME).
> > at
> > org.apache.tools.ant.UnknownElement.makeTask(UnknownElement.java:153)
> >
> > at
> > org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
> > a:83)
> > at org.apache.tools.ant.Task.perform(Task.java:216)
> > at org.apache.tools.ant.Target.execute(Target.java:184)
> > at org.apache.tools.ant.Target.performTasks(Target.java:202)
> > at
> > org.apache.tools.ant.Project.executeTarget(Project.java:601)
> > at
> > org.apache.tools.ant.Project.executeTargets(Project.java:560)
> > at org.apache.tools.ant.Main.runBuild(Main.java:454)
> > at org.apache.tools.ant.Main.start(Main.java:153)
> > at org.apache.tools.ant.Main.main(Main.java:176)
> >
> > Thanks
> > Marcus
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by James Bullington <sh...@yahoo.com>.
I placed this line in a batch file that I execute before I call ant.
--Jim
--- Marcus <ma...@criticalpointsoftware.com> wrote:
> Hi Jim,
>
> Where in the xml file or in the sys variables?
>
> thx
> -mez
> ----- Original Message -----
> From: "James Bullington" <sh...@yahoo.com>
> To: "Ant Users List" <an...@jakarta.apache.org>
> Sent: Thursday, December 20, 2001 9:37 AM
> Subject: Re: Perforce Optional Tasks
>
>
> > Did you remember to put these files in your class path? When I
> first
> > started to use optional.jar, this was my mistake.
> >
> > i.e. you need:
> >
> > CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar
> >
> > Hope this helps,
> > Jim
> >
> > --- Marcus <ma...@criticalpointsoftware.com> wrote:
> > > I have put in the optional.jar and the oro.jar file in /ant/lib
> and I
> > > still get:
> > > BUILD FAILED
> > >
> > > p:\cpdev\main\src\run_build.xml:23: Could not create task of
> type:
> > > classpath. Co
> > > mmon solutions are to use taskdef to declare your task, or, if
> this
> > > is an option
> > > al task, to put the optional.jar in the lib directory of your ant
> > > installation (
> > > ANT_HOME).
> > > at
> > >
> org.apache.tools.ant.UnknownElement.makeTask(UnknownElement.java:153)
> > >
> > > at
> > >
> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
> > > a:83)
> > > at org.apache.tools.ant.Task.perform(Task.java:216)
> > > at org.apache.tools.ant.Target.execute(Target.java:184)
> > > at
> org.apache.tools.ant.Target.performTasks(Target.java:202)
> > > at
> > > org.apache.tools.ant.Project.executeTarget(Project.java:601)
> > > at
> > > org.apache.tools.ant.Project.executeTargets(Project.java:560)
> > > at org.apache.tools.ant.Main.runBuild(Main.java:454)
> > > at org.apache.tools.ant.Main.start(Main.java:153)
> > > at org.apache.tools.ant.Main.main(Main.java:176)
> > >
> > > Thanks
> > > Marcus
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Check out Yahoo! Shopping and Yahoo! Auctions for all of
> > your unique holiday gifts! Buy at http://shopping.yahoo.com
> > or bid at http://auctions.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by Marcus <ma...@criticalpointsoftware.com>.
Hi Jim,
Where in the xml file or in the sys variables?
thx
-mez
----- Original Message -----
From: "James Bullington" <sh...@yahoo.com>
To: "Ant Users List" <an...@jakarta.apache.org>
Sent: Thursday, December 20, 2001 9:37 AM
Subject: Re: Perforce Optional Tasks
> Did you remember to put these files in your class path? When I first
> started to use optional.jar, this was my mistake.
>
> i.e. you need:
>
> CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar
>
> Hope this helps,
> Jim
>
> --- Marcus <ma...@criticalpointsoftware.com> wrote:
> > I have put in the optional.jar and the oro.jar file in /ant/lib and I
> > still get:
> > BUILD FAILED
> >
> > p:\cpdev\main\src\run_build.xml:23: Could not create task of type:
> > classpath. Co
> > mmon solutions are to use taskdef to declare your task, or, if this
> > is an option
> > al task, to put the optional.jar in the lib directory of your ant
> > installation (
> > ANT_HOME).
> > at
> > org.apache.tools.ant.UnknownElement.makeTask(UnknownElement.java:153)
> >
> > at
> > org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
> > a:83)
> > at org.apache.tools.ant.Task.perform(Task.java:216)
> > at org.apache.tools.ant.Target.execute(Target.java:184)
> > at org.apache.tools.ant.Target.performTasks(Target.java:202)
> > at
> > org.apache.tools.ant.Project.executeTarget(Project.java:601)
> > at
> > org.apache.tools.ant.Project.executeTargets(Project.java:560)
> > at org.apache.tools.ant.Main.runBuild(Main.java:454)
> > at org.apache.tools.ant.Main.start(Main.java:153)
> > at org.apache.tools.ant.Main.main(Main.java:176)
> >
> > Thanks
> > Marcus
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by Diane Holt <ho...@yahoo.com>.
--- James Bullington <sh...@yahoo.com> wrote:
> At least the version that I use, Ant version 1.3 compiled on May 11
> 2001, provided by BEA, does not build the classpath.
I don't know doodley about BEA, but I find it hard to believe that the Ant
it's providing isn't doing what it should. What's happening that makes you
think it doesn't?
Diane
=====
(holtdl@yahoo.com)
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by James Bullington <sh...@yahoo.com>.
At least the version that I use, Ant version 1.3 compiled on May 11
2001, provided by BEA, does not build the classpath.
--Jim
--- Diane Holt <ho...@yahoo.com> wrote:
> --- James Bullington <sh...@yahoo.com> wrote:
> > Did you remember to put these files in your class path? When I
> first
> > started to use optional.jar, this was my mistake.
> >
> > i.e. you need:
> >
> > CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar
>
> You shouldn't need to do this -- the wrapper-script for Ant (ie., the
> thing that actually executes when you say 'ant' on the command-line)
> builds a classpath to pass on the 'java' command-line (that it in
> turn
> executes) that includes all the jar-files in $ANT_HOME/lib.
>
> I run Ant without any environment CLASSPATH defined at all.
>
> Diane
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
=====
"Those who live in the shelter of the Most High will find rest in the shadow of the Almighty.
This I declare of the Lord: He alone is my refuge, my place of safety; he is my God, and I am trusting him�"
Psalms 91:1-2 (New Living Translation)
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by Diane Holt <ho...@yahoo.com>.
--- James Bullington <sh...@yahoo.com> wrote:
> Did you remember to put these files in your class path? When I first
> started to use optional.jar, this was my mistake.
>
> i.e. you need:
>
> CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar
You shouldn't need to do this -- the wrapper-script for Ant (ie., the
thing that actually executes when you say 'ant' on the command-line)
builds a classpath to pass on the 'java' command-line (that it in turn
executes) that includes all the jar-files in $ANT_HOME/lib.
I run Ant without any environment CLASSPATH defined at all.
Diane
=====
(holtdl@yahoo.com)
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Perforce Optional Tasks
Posted by James Bullington <sh...@yahoo.com>.
Did you remember to put these files in your class path? When I first
started to use optional.jar, this was my mistake.
i.e. you need:
CLASSPATH=%CLASSPATH%;/ant/lib/optional.jar;/ant/lib/oro.jar
Hope this helps,
Jim
--- Marcus <ma...@criticalpointsoftware.com> wrote:
> I have put in the optional.jar and the oro.jar file in /ant/lib and I
> still get:
> BUILD FAILED
>
> p:\cpdev\main\src\run_build.xml:23: Could not create task of type:
> classpath. Co
> mmon solutions are to use taskdef to declare your task, or, if this
> is an option
> al task, to put the optional.jar in the lib directory of your ant
> installation (
> ANT_HOME).
> at
> org.apache.tools.ant.UnknownElement.makeTask(UnknownElement.java:153)
>
> at
> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
> a:83)
> at org.apache.tools.ant.Task.perform(Task.java:216)
> at org.apache.tools.ant.Target.execute(Target.java:184)
> at org.apache.tools.ant.Target.performTasks(Target.java:202)
> at
> org.apache.tools.ant.Project.executeTarget(Project.java:601)
> at
> org.apache.tools.ant.Project.executeTargets(Project.java:560)
> at org.apache.tools.ant.Main.runBuild(Main.java:454)
> at org.apache.tools.ant.Main.start(Main.java:153)
> at org.apache.tools.ant.Main.main(Main.java:176)
>
> Thanks
> Marcus
>
__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>