Ant and Forte: path tag nested in target not working
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, October 15, 2001 04:09 AM

Hi everybody, A working target with nested path (see below) works in Ant version 1.4 ('standalone'), but when using the ant version integrated as module into Forte for Java 3.0 then I get an error. The target is as follows: . . . The error in Forte 3.0 CE is at the third line of the target and tells me: build.xml [68] Could not create task of type: path. Common solutions are to use taskdef to declare your task, or, if this is an optional task, to put the optional.jar in the lib d   More>>

Hi everybody,

A working target with nested path (see below) works in Ant version 1.4 ('standalone'), but
when using the ant version integrated as module into Forte for Java 3.0 then I get an
error.

The target is as follows:



			




















.

.

.







The error in Forte 3.0 CE is at the third line of the target and tells me:



build.xml [68] Could not create task of type: path. Common 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).



Why is that. Before that target I define path (on the same nested level
as target, inside project tag) and everything is ok. Nested in the
target path doesn't work. Why? Which version is integrated in Forte for
Java 3.0 (could not find out how to configure a commandline option, in
this case -version to get that information).


Apparently there must be used a less recent version than the one I have
standalone installed.



Any help much appreciated.



Regards,

Thomas    <<Less

Re: Ant and Forte: path tag nested in target not working

Posted By:   Erik_Hatcher  
Posted On:   Wednesday, October 17, 2001 04:02 AM

There have been modifications in the Path code from version 1.3 (which Forte probably uses) and Ant 1.4.1. To get version information you could turn on debug output from Ant and at least in NetBeans its a configuration option, so I'm assuming its a switch in Forte also.


I don't have information on how to upgrade the version of Ant used by Forte, but it could be as simple as replacing ant.jar and optional.jar in Forte's directory.

About | Sitemap | Contact