com.lutris.ant.taskdefs.XMLc not found
Build failed
I was thinking that since in build.xml we have specified the location where
enhydra is installed by the following lines..
<property name="enhydra.root" value="D:/enhydra5.0"
/>
<property name="enhydra.dir" location="D:/enhydra5.0"
/>
...before running xmlc task it would take all the jars from enhydra root(in
this it would also find anttask.jar - required) into classpath. But its not
taking. ie the above error.
When I include anttask.jar in system classpath manually, then it gives
another error...
class
org.enhydra.xml.xmlc.command.xmlc.XMLC not found
Build
failed
To get rid of above error I have to put
D:\Enhydra5.0\lib\xmlc.jar in system classpath. Likewise as and
when I see the errors I have to include so many jars in System classpath. ie
executing the build procedure onto another machine means settingup the system
classpath first(according to where enhydra is installed). Is there a
way by which our build procedure takes the jars in Enhydra directory into
classpath before running any tasks in the build file?
Thanks
Prakash