db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Monroe <Greg.Mon...@dukece.com>
Subject RE: [Vote]release torque 4.0
Date Fri, 04 Jan 2013 21:36:08 GMT
Whoops, think I found a show stopper setting up a clean install for testing with MS SQL.

A clean Maven build of the SVN torque-4.0 tag fails with compiler errors when it starts to
compile the runtime.

Compiler error messages:

\Temp\Torque\torque-4.0\torque-runtime\src\main\java\org\apache\torque\Torque.java:[197,39]

type parameters of <T>T cannot be determined; no unique maximal instance exists for
type variable T with upper bounds T,org.apache.torque.manager.AbstractBaseManager<? extends
org.apache.torque.om.Persistent>

\Temp\Torque\torque-4.0\torque-runtime\src\main\java\org\apache\torque\Torque.java:[213,39]

type parameters of <T>T cannot be determined; no unique maximal instance exists for
type variable T with upper bounds T,org.apache.torque.manager.AbstractBaseManager<? extends
org.apache.torque.om.Persistent>

Environment:

  Windows 7
  Maven 2.2.1  (new install with empty repository)
  Java 1.6.0_23

Process:

  SVN checkout of torque-4.0 tag to \temp\torque\torque-4.0
  Run mvn install in torque-4.0 directory.

Output ( Second run after Maven downloaded all the dependencies):

C:\Temp\Torque\torque-4.0>mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Torque Maven Parent
[INFO]   Torque Runtime
[INFO]   Torque Generator
[INFO]   Torque Templates
[INFO]   Torque Generator Maven 2 Plugin
[INFO]   Torque Generator Ant tasks
[INFO]   Torque Site
[INFO] ------------------------------------------------------------------------
[INFO] Building Torque Maven Parent
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[WARNING] The parameter expression: 'project.build.resources' used in mojo: 'pro
cess' has been deprecated. Use 'project.resources' instead.
[INFO] [remote-resources:process {execution: default}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] [apache-rat:check {execution: default}]
[INFO] Exclude: velocity.log
[INFO] Exclude: .checkstyle
[INFO] Exclude: checkstyle-cache.ccf
[INFO] Exclude: derby.log
[INFO] Exclude: LICENSE-EDL.txt
[INFO] Exclude: DEPENDENCIES
[INFO] Exclude: torque-test/target/**/*
[INFO] Exclude: torque-test/.classpath
[INFO] Exclude: torque-test/.project
[INFO] Exclude: torque-test/.settings/**
[INFO] Exclude: torque-test/src/main/generated-java/**/*
[INFO] [install:install {execution: default-install}]
[INFO] Installing C:\Temp\Torque\torque-4.0\pom.xml to C:\Users\monroe.DUKECE\.m
2\repository\org\apache\torque\torque\4.0\torque-4.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Torque Runtime
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[WARNING] The parameter expression: 'project.build.resources' used in mojo: 'pro
cess' has been deprecated. Use 'project.resources' instead.
[INFO] [remote-resources:process {execution: default}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Temp\Torque\torque-4.0\torque-runt
ime\src\main\resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 13 source files to C:\Temp\Torque\torque-4.0\torque-runtime\tar
get\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] \Temp\Torque\torque-4.0\torque-runtime\src\main\java\org\apache\torque\T
orque.java:[197,39] type parameters of <T>T cannot be determined; no unique maxi
mal instance exists for type variable T with upper bounds T,org.apache.torque.ma
nager.AbstractBaseManager<? extends org.apache.torque.om.Persistent>

[ERROR] \Temp\Torque\torque-4.0\torque-runtime\src\main\java\org\apache\torque\T
orque.java:[213,39] type parameters of <T>T cannot be determined; no unique maxi
mal instance exists for type variable T with upper bounds T,org.apache.torque.ma
nager.AbstractBaseManager<? extends org.apache.torque.om.Persistent>

[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

\Temp\Torque\torque-4.0\torque-runtime\src\main\java\org\apache\torque\Torque.ja
va:[197,39] type parameters of <T>T cannot be determined; no unique maximal inst
ance exists for type variable T with upper bounds T,org.apache.torque.manager.Ab
stractBaseManager<? extends org.apache.torque.om.Persistent>

\Temp\Torque\torque-4.0\torque-runtime\src\main\java\org\apache\torque\Torque.ja
va:[213,39] type parameters of <T>T cannot be determined; no unique maximal inst
ance exists for type variable T with upper bounds T,org.apache.torque.manager.Ab
stractBaseManager<? extends org.apache.torque.om.Persistent>


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Fri Jan 04 16:32:50 EST 2013
[INFO] Final Memory: 74M/740M
[INFO] ------------------------------------------------------------------------



-----Original Message-----
From: Greg Monroe [mailto:Greg.Monroe@dukece.com] 
Sent: Wednesday, January 02, 2013 10:40 AM
To: 'Apache Torque Developers List'
Subject: RE: [Vote]release torque 4.0

Sorry, just getting back from 2+ weeks of time off (using up vacation time before losing it
Jan 1).    Intentionally not monitoring work e-mail so I did not see the vote. 

I'll look at this in the next few days after I sort out a few work things.  

Greg

-----Original Message-----
From: Thomas Vandahl [mailto:tv@apache.org]
Sent: Sunday, December 23, 2012 6:52 AM
To: Apache Torque Developers List
Subject: Re: [Vote]release torque 4.0

On 20.12.12 11:43, Thomas Fox wrote:
> The vote closes Sun, 23 Dec, 18:00 GMT to allow for a christmas 
> release

Sorry, I won't be able to meet that deadline. Just keep the vote open and I'll find some time
to look at the release after christmas.

Bye, Thomas.


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

DukeCE Privacy Statement:
Please be advised that this e-mail and any files transmitted with it are confidential communication
or may otherwise be privileged or confidential and are intended solely for the individual
or entity to whom they are addressed. If you are not the intended recipient you may not rely
on the contents of this email or any attachments, and we ask that you please not read, copy
or retransmit this communication, but reply to the sender and destroy the email, its contents,
and all copies thereof immediately. Any unauthorized dissemination, distribution or copying
of this communication is strictly prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message