From: Jakub H. <mal...@us...> - 2006-04-05 20:45:51
|
Update of /cvsroot/jedit/plugins/LaTeXTools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21602/LaTeXTools Modified Files: build.xml Log Message: attempt to enable ant task for plugin reloading Index: build.xml =================================================================== RCS file: /cvsroot/jedit/plugins/LaTeXTools/build.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- build.xml 13 Mar 2006 17:14:18 -0000 1.9 +++ build.xml 5 Apr 2006 20:45:42 -0000 1.10 @@ -145,7 +145,13 @@ <target name="deploy" depends="dist"> <copy file="${dist}\LaTeXTools.jar" todir="${jedit.jars.dir}"/> - <antcall target="reload"/> + <condition property="can.reload.plugins"> + <and> + <available classname="org.gjt.sp.jedit.jEdit"/> + <available classname="ReloadPluginTask"/> + </and> + </condition> + <antcall target="reload" /> </target> <target name="clean-install" depends="clean, install"> @@ -165,7 +171,7 @@ </target> <target name="reload" if="can.reload.plugins"> - <taskdef name="reloadPlugin" classname="ReloadPluginTask"/> + <taskdef name="reloadPlugin" classname="ReloadPluginTask" classpathref="class.path"/> <reloadPlugin jarfile="${jedit.jars.dir}/LaTeXTools.jar"/> </target> |