I use HibernateTools-3.2.0.beta11 and i want to launch the new eclipse code formatter ant task with ant 1.7.0.
I have 2 questions :
in HibernateTools-3.2.0.beta11.zip i doesn't find org.eclipse.*.jar files ...
Code:
zip -vT HibernateTools-3.2.0.beta11.zip |grep org.eclipse |wc -l
0
but in bug changelog i found for example : HibernateExt/tools/lib/org.eclipse.core.runtime_3.2.0.v20060603.jar
in second hand in my build.xml i have this :
Code:
<path id="hibtools.classpath">
<path location="hibernate-tools.jar" />
<path location="hibernate3.jar" />
<path location="freemarker.jar" />
<path location="org.eclipse.core.runtime_3.2.0.v20060603.jar"/>
<path location="org.eclipse.equinox.common_3.2.0.v20060603.jar"/>
<path location="org.eclipse.jdt.core_3.2.0.v_671.jar"/>
<path location="org.eclipse.text_3.2.0.v20060605-1400.jar"/>
</path>
<taskdef name="javaformatter" classname="org.hibernate.tool.ant.JavaFormatterTask" classpathref="hibtools.classpath"/>
<javaformatter configurationfile="my_eclipse_exported_profile.xml">
<fileset dir="a/dir/">
<include name="**/*.java" />
</fileset>
</javaformatter>
but at launch, i have this error :
Code:
java.lang.NoClassDefFoundError: org/eclipse/jface/text/BadLocationException
I thinks it's because they missing jar in my path. But how to find it (missing jar) ?