|call java class which has a method from ANT build file [message #1730148]
||Thu, 21 April 2016 18:26
| taghreed altamimi
Registered: October 2014
I am trying to call java class which has a method from ANT build file
I have tried many ways but all of them failed .
The following is my ANT file : the bold (Java part )is what I need to do
<project default="main" >
<target name="main" depends="loadModels">
<model ref="UML" />
<epsilon.etl src="../AntBuildfile/AntwithoutTraceabilityApril11.etl" >
<model ref="lqnmodel" />
<!--call java class which has a method to change the tag names and send the file location as a parameter to that method -->
I found this reference http://ant.apache.org/manual/develop.html#set-magic
but it confused me ,for example my class doesn't extend org.apache.tools.ant.Task do I need to include that ??if so where can I find class task in order to be able to extend it. Also do I need to identify the class path and class name?? and if yes how can I identify them because each time I got an error that my class is not found.
Can you please help me.
[Updated on: Thu, 21 April 2016 18:29]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02049 seconds