Posted By:
Travis_Prescott
Posted On:
Sunday, December 16, 2001 02:23 PM
I have a script that compiles all code in the project. After compiling, the taskdef fails because it uses introspection to gather info about freshly compiled classes. The newly compiled classes are in the classpath and I am certain that compilation happens prior to execution of the taskdef. If I run the script a second time (without cleaning the build directories) the taskdef runs without a hitch...in other words, it finds the class files from the first execution of the build the second run. I am posting a simplifired version of the script below
More>>
I have a script that compiles all code in the project. After compiling, the taskdef fails because it uses introspection to gather info about freshly compiled classes. The newly compiled classes are in the classpath and I am certain that compilation happens prior to execution of the taskdef. If I run the script a second time (without cleaning the build directories) the taskdef runs without a hitch...in other words, it finds the class files from the first execution of the build the second run. I am posting a simplifired version of the script below
excludes="**/ProtocolBean.class,
**/ProtocolSessionBean.class,
**/DiagnosisBean.class,
**/DiagnosisSessionBean.class,
**/DiagnosisSitesBean.class,
**/DiagnosisSitesSessionBean.class,
**/NciEventBean.class/>
Any ideas? Thanks in advance!
<<Less