Skip to content
Permalink
Browse files

set up for a test folder

  • Loading branch information
mebigfatguy committed Nov 4, 2016
1 parent 49702b0 commit e2894351caa1ec641038ce23f8cbb0e969a7065b
Showing with 11 additions and 12 deletions.
  1. +1 −0 .classpath
  2. +0 −11 .project
  3. +10 −1 build.xml
@@ -3,6 +3,7 @@
<classpathentry excluding="**/*.*" kind="src" path="etc"/>
<classpathentry kind="src" output="target/classes/samples" path="src/samples/java"/>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" output="target/classes/test" path="src/test/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/backport-util-concurrent-3.1.jar"/>
<classpathentry kind="lib" path="lib/javax.servlet-api-3.1.0.jar"/>
@@ -32,15 +32,4 @@
<nature>org.eclipse.pde.PluginNature</nature>
<nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
</natures>
<filteredResources>
<filter>
<id>1351977185587</id>
<name>samples</name>
<type>10</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-.svn</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
@@ -17,10 +17,12 @@
<property name="src.dir" value="${basedir}/src/main/java" />
<property name="lib.dir" value="${basedir}/lib" />
<property name="etc.dir" value="${basedir}/etc" />
<property name="test.dir" value="${basedir}/src/test/java" />
<property name="target.dir" value="${basedir}/target" />
<property name="samples.dir" value="${basedir}/src/samples/java" />
<property name="main.classes.dir" value="${target.dir}/classes/main" />
<property name="samples.classes.dir" value="${target.dir}/classes/samples" />
<property name="test.classes.dir" value="${target.dir}/classes/test" />
<property name="javadoc.dir" value="${target.dir}/javadoc" />
<property name="htdocs.dir" value="${basedir}/htdocs" />
<property name="javac.source" value="1.7" />
@@ -92,6 +94,7 @@
<target name="-init" depends="yank">
<mkdir dir="${lib.dir}" />
<mkdir dir="${main.classes.dir}" />
<mkdir dir="${test.classes.dir}" />
<mkdir dir="${samples.classes.dir}" />
<mkdir dir="${javadoc.dir}" />
<path id="fb-contrib.classpath">
@@ -141,6 +144,12 @@
<classpath refid="fb-contrib.classpath" />
</javac>
</target>

<target name="compile_test" depends="compile" description="compiles java test files">
<javac srcdir="${test.dir}" destdir="${test.classes.dir}" source="${javac.source}" target="${javac.target}" deprecation="${javac.deprecation}" debug="${javac.debug}" includeantruntime="false">
<classpath refid="fb-contrib.classpath" />
</javac>
</target>

<target name="compile_samples" depends="-init" description="compiles sample problem files">
<javac srcdir="${samples.dir}" destdir="${samples.classes.dir}" source="1.7" target="1.7" deprecation="${javac.deprecation}" debug="${javac.debug}" includeantruntime="false">
@@ -220,7 +229,7 @@
</javadoc>
</target>

<target name="build" depends="clean, -init, validate_xml, compile, compile_samples, jar" description="builds the plugin jar">
<target name="build" depends="clean, -init, validate_xml, compile, compile_test, compile_samples, jar" description="builds the plugin jar">
</target>

<target name="install" depends="build" description="installs the plugin into FindBugs">

0 comments on commit e289435

Please sign in to comment.
You can’t perform that action at this time.