I have a project called MyApp in eclipse. I have another project called TestRepository that contains in it, the testcases written for MyApp project.
I am trying to compile the testcases and generate a junit report using groovyc ant task whose classpath is :
<path id="classpath">
<fileset dir="lib/MyApp">
<include name="*.jar" />
</fileset>
</path>
The jar files of MyApp are added on classpath. If in case, a class of MyApp project referred in a testcase is not existing in the jars of lib folder, I want the groovyc to search for the class in MyApp/bin
package.
How can I do this?
PS: MyApp project is very huge and I'd rather not want groovyc task to compile all the src files in MyApp but just pick up the additional .class file from bin and put it on its classpath.