- Dan
John wrote:
Hi, I �ve downloaded the latest source (today). Used maven to compile. I also downloaded the Torque source in the root directory. Some classes are missing... Or wrong code downloaded ?Could U help me to compile my first fulcrum jar ! ThX I had the following error: -------------------------------------------------------------------------------- ----------------------------------------------- C:\java_libs\jakarta-turbine-fulcrum java:prepare-filesystem: java:compile: check-om: Overriding previous definition of reference to maven.compile.src.set [echo] Generating sources ... [copy] Copying 186 files to C:\java_libs\jakarta-turbine-fulcrum\target\src init-taskdef: security-om: [echo] +-------------------------------------------------------------------- | | G E N E R A T I N G S E C U R I T Y S O U R C E S | +-------------------------------------------------------------------- Using contextProperties file: C:\java_libs\jakarta-turbine-fulcrum\project.prope rties [torque-om] Using classpath [torque-om] Generating to file C:\java_libs\jakarta-turbine-fulcrum\target\s rc\report.turbine.om.generation [torque-om] Resolver: used database.dtd from org.apache.torque.engine.databa se.transform package [torque-om] Resolver: used database.dtd from org.apache.torque.engine.databa se.transform package init-taskdef: scheduler-om: [echo] +-------------------------------------------------------------------- | | G E N E R A T I N G S C H E D U L E R S O U R C E S | +-------------------------------------------------------------------- Using contextProperties file: C:\java_libs\jakarta-turbine-fulcrum\project.prope rties [torque-om] Using classpath [torque-om] Generating to file C:\java_libs\jakarta-turbine-fulcrum\target\s rc\report.turbine.scheduler.generation [torque-om] Resolver: used database.dtd from org.apache.torque.engine.databa se.transform package [torque-om] Resolver: used database.dtd from org.apache.torque.engine.databa se.transform package [javac] Compiling 201 source files to C:\java_libs\jakarta-turbine-fulcrum\t arget\classes [javac] [ERROR] C:\java_libs\jakarta-turbine-fulcrum\target\src\org\apache\f ulcrum\schedule\JobEntry.java:158: operator - cannot be applied to org.apache.to rque.om.NumberKey,org.apache.torque.om.NumberKey [javac] [ERROR] result = getJobId() - ((JobEntry)je).getJobId(); [javac] [ERROR] ^ [javac] [ERROR] Note: Some input files use or override a deprecated API. [javac] [ERROR] Note: Recompile with -deprecation for details. [javac] [ERROR] 1 error [ERROR] BUILD FAILED [ERROR] File...... C:\Jakarta\maven-1.0-beta-7\plugins\maven-java-plugin-1.1\plu gin.jelly [ERROR] Element... javac [ERROR] Line...... 54 [ERROR] Column.... 48 [ERROR] Compile failed; see the compiler error output for details. Total time: 36 seconds
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
