DITA OT 3.x Plugin installation - ant command fail
Posted: Mon Mar 29, 2021 9:18 am
HI,
Created and installed a dita -ot plugin manually at below path
C:\dita\dita-ot-3.5\plugins\my.dita.plugin
Able to execute the bin\dita command sucessfully
bin\dita --format=mydita -Dmy.release=21a --input=/dev/null -Dargs.input.dir=C:\my\21a\input --output=C:\my\21a\output -Dmy.type=F --temp=C:\my\21a\temp -Dclean.temp='n'
But some how, below ant command got failed,
bin\ant -Dtranstype=mydita -Dargs.input.dir="C:\my\21a\input" -Doutput.dir="C:\my\21a\out" -Dmy.type="F" -Dclean.temp="n" -Dtemp
Buildfile: C:\dita-ot\dita-ot-3.5\build.xml
[loadproperties] Unable to find resource application.properties
BUILD FAILED
C:\dita-ot\dita-ot-3.5\build.xml:19: The following error occurred while executing this line:
C:\dita-ot\dita-ot-3.5\plugins\org.dita.base\build.xml:36: The following error occurred while executing this line:
C:\dita-ot\dita-ot-3.5\plugins\org.dita.base\build_init.xml:22: taskdef class org.dita.dost.ant.InitializeProjectTask cannot be found
using the classloader AntClassLoader[]
Total time: 0 seconds
The ant command got success in dita-ot-2.4.6.
WHen we install a plugin, it automatically updates dita-ot-2.4.6\build.xml with plugin details. But it's not the case in dita-ot.3.x.
It would be great help, if you can suggest any clue.
Thanks,
Samba.
Created and installed a dita -ot plugin manually at below path
C:\dita\dita-ot-3.5\plugins\my.dita.plugin
Able to execute the bin\dita command sucessfully
bin\dita --format=mydita -Dmy.release=21a --input=/dev/null -Dargs.input.dir=C:\my\21a\input --output=C:\my\21a\output -Dmy.type=F --temp=C:\my\21a\temp -Dclean.temp='n'
But some how, below ant command got failed,
bin\ant -Dtranstype=mydita -Dargs.input.dir="C:\my\21a\input" -Doutput.dir="C:\my\21a\out" -Dmy.type="F" -Dclean.temp="n" -Dtemp
Buildfile: C:\dita-ot\dita-ot-3.5\build.xml
[loadproperties] Unable to find resource application.properties
BUILD FAILED
C:\dita-ot\dita-ot-3.5\build.xml:19: The following error occurred while executing this line:
C:\dita-ot\dita-ot-3.5\plugins\org.dita.base\build.xml:36: The following error occurred while executing this line:
C:\dita-ot\dita-ot-3.5\plugins\org.dita.base\build_init.xml:22: taskdef class org.dita.dost.ant.InitializeProjectTask cannot be found
using the classloader AntClassLoader[]
Total time: 0 seconds
The ant command got success in dita-ot-2.4.6.
WHen we install a plugin, it automatically updates dita-ot-2.4.6\build.xml with plugin details. But it's not the case in dita-ot.3.x.
It would be great help, if you can suggest any clue.
Thanks,
Samba.