i have a problem ant script:
<taskdef name="CFileEdit" classname="com.ANT_Tasks.CFileEdit"/>
where taskdef class com.ANT_Tasks.CFileEdit cannot be found
now i have CFileEdit.java and i did this:
- CFileEdit.java compiled into CFiledEdit.class
- CFileEdit.class into CFileEdit.jar
- Place CFileEdit.jar into ANT_HOME\lib?
I am not sure if step 3 is correct. I do not wish to add a path in my ant script. Thanks
You can specify a classpath for the taskdef (example for svnkit):
-EDIT-
If you don’t want to alter the taskdef you can choose one of the following options to place the jar (from : http://ant.apache.org/manual/install.html):