From: <chr...@ch...>
<chr...@ch...> - 2013-11-07 09:45:27
|
Packe [pa...@ya...] wrote on 05 November 2013 19:08: > > Hi again, > > I've been away for a week and didn't have time to work on this. > > I will now start the work to port the project to Maven. > > Chris, did you have the time to look at what you have done in the > build.xml file in your refactor branch? > > From what I could see you just cleaned it up and added PMD and check > style. Is that correct? > > In the Sourceforge admin interface I can see that there are quite some > developers registered. I will clean this list now. If anyone feels > they should remain developer on the project don't hesitate to notify > me. My intention is to be able to get a better control of what is > being delivered to trunk in order to avoid to much diversion. > Therefore the standard way to submit a patch to JSynthLib should be > through the patch interface on Sourceforge. I will then handle the > merging and so on. > > BR > /Pascal > Hi Pascal, Sorry for not getting back to you sooner about adding Junit support to the Ant script in my branch. I was planning on adding something like the following: <property name='reports' location='reports'/> <!-- ******************************************************************* --> <!-- * JUnit * --> <!-- ******************************************************************* --> <target name='init-tests' description='Create the test reports directory' depends='build'> <mkdir dir='${reports}'/> </target> <target name='run-tests' description='Run the tests' depends='init-tests'> <junit printsummary='on' fork='on'> <classpath> <path refid='classpath'/> <path location='${bin}'/> </classpath> <formatter type='plain' usefile='yes'/> <formatter type='xml' usefile='yes'/> <batchtest todir='${reports}'> <fileset dir='${src}' includes='**/*Test.java' excludes='**/Abstract*Test.java'/> </batchtest> </junit> </target> <target name='clean-tests' description='Remove the test reports directory'> <delete dir='${reports}'/> </target> Regards, Chris |