db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Courcoux <pe...@courcoux.biz>
Subject Re: Turbine2.3/Torque
Date Sun, 29 Jun 2003 13:13:15 GMT
Martin,

Sorry for the delay, I was required by my family!

Compiler output follows inline :-

Note two types of warning.

Buildfile: build.xml

setup:

check-webinf-exists:

setup-webinf:

compile:
    [javac] Compiling 426 source files to
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/classes
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseDistributionPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseStaffPeer.java:56:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTendersPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseRegistryPeer.java:56:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseDeliveryPeer.java:58:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseUsersPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseSerialnumbersPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseMessdeliveryPeer.java:58:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseStaffprojectPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseDolmessagesPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseDoldeliveryPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseDownloadPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseMessdistributionPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseProjectPeer.java:56:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseRegtagPeer.java:56:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseMapregtodlPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseGlobalaccessPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTenderaccessPeer.java:56:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseProteamPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseOrgdiscPeer.java:56:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseOrgprojectPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseMessagesPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseMessreadPeer.java:58:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseNameddlPeer.java:56:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseDlentriesPeer.java:56:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseInregPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseAttachmentsPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseNewsPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseAttachdownloadPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/modules/layouts/DirectResponseLayout.java:25:
warning: isOutSet() in org.apache.turbine.util.RunData has been deprecated
    [javac]         if (!data.isOutSet())
    [javac]                  ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbineRolePeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbineRolePeer.java:353:
warning: setBlobFlag(boolean) in org.apache.torque.util.Criteria has been deprecated
    [javac]          criteria.setBlobFlag(true);
    [javac]                  ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbineRolePermissionPeer.java:57:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbineUserGroupRolePeer.java:58:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbinePermissionPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbinePermissionPeer.java:353:
warning: setBlobFlag(boolean) in org.apache.torque.util.Criteria has been deprecated
    [javac]          criteria.setBlobFlag(true);
    [javac]                  ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbineUserPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbineUserPeer.java:393:
warning: setBlobFlag(boolean) in org.apache.torque.util.Criteria has been deprecated
    [javac]          criteria.setBlobFlag(true);
    [javac]                  ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbineGroupPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbineGroupPeer.java:353:
warning: setBlobFlag(boolean) in org.apache.torque.util.Criteria has been deprecated
    [javac]          criteria.setBlobFlag(true);
    [javac]                  ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseOrgstaffpermPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbineScheduledJobPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTurbineScheduledJobPeer.java:383:
warning: setBlobFlag(boolean) in org.apache.torque.util.Criteria has been deprecated
    [javac]          criteria.setBlobFlag(true);
    [javac]                  ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseProjorgpermPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseIrtaggroupPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseIssuesPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseProjectpermPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseFaqPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTagPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseOrgstaffprojpermPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseTaggroupPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseOrgpermPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseIrtagPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac]
/mnt/work/ittdirect/jakarta-tomcat-4.1.24/webapps/tolreg/WEB-INF/src/java/com/ittdirect/tolreg/om/BaseIssueheaderPeer.java:55:
warning: getMapBuilder() in org.apache.torque.util.BasePeer has been deprecated
    [javac]     public static MapBuilder getMapBuilder()
    [javac]                              ^
    [javac] 54 warnings

BUILD SUCCESSFUL
Total time: 54 seconds



On Sun, 2003-06-29 at 12:39, Martin Poeschl wrote:
> please send the compiler output ...
> 
> martin
> 
> Peter Courcoux wrote:
> 
> >Martin,
> >
> >Many thanks, my app now builds with no errors. However, I have
> >deprecation warnings re BasePeer.getMapBuilder(). Does this mean I'm
> >using an incorrect template?
> >
> >Regards,
> >
> >Peter 
> >
> >On Sun, 2003-06-29 at 11:49, Martin Poeschl wrote:
> >  
> >
> >>you'll find the sources in db-torque/src/generator
> >>
> >>martin
> >>
> >>Peter Courcoux wrote:
> >>
> >>    
> >>
> >>>Hi Martin,
> >>>
> >>>No, all I have done is to build db-torque from cvs and put the resulting
> >>>torque-3.1-alpha2-dev.jar in the classpath.
> >>>
> >>>Should I be checking out another module from cvs?
> >>>
> >>>Many thanks for your help.
> >>>
> >>>Regards,
> >>>
> >>>Peter
> >>>
> >>>On Sun, 2003-06-29 at 11:17, Martin Poeschl wrote:
> >>> 
> >>>
> >>>      
> >>>
> >>>>is the torque-generator.jar in you classpath??
> >>>>
> >>>>martin
> >>>>
> >>>>Peter Courcoux wrote:
> >>>>
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>>>Hi,
> >>>>>
> >>>>>I have checked out and successfully compiled torque and turbine today
> >>>>>with the latest village as per the torque dependency list.
> >>>>>
> >>>>>My application started as a turbine 2.1 app under the tdk and is
now
> >>>>>migrated to turbine 2.3. 
> >>>>>
> >>>>>Up until now the project-om task of the tdk newapp build.xml has
worked
> >>>>>to recreate my om classes. However, it now fails with the following
> >>>>>error :-
> >>>>>
> >>>>>project-om:
> >>>>>[property] Unable to find resource org.apache.torque.default.properties
> >>>>>
> >>>>>build.xml:76 taskdef class org.apache.torque.task.TorqueDataModelTask
> >>>>>cannot be found.
> >>>>>
> >>>>>I am getting compilation errors in my peer classes and believe that
I
> >>>>>should regenerate them. How do I best accomplish this.
> >>>>>
> >>>>>Any pointers would be much appreciated.
> >>>>>
> >>>>>Regards,
> >>>>>
> >>>>>Peter
> >>>>>
> >>>>>
> >>>>>
> >>>>>     
> >>>>>
> >>>>>          
> >>>>>
> >>>>---------------------------------------------------------------------
> >>>>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
> >>    
> >>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
-- 
Peter Courcoux <peter@courcoux.biz>

Mime
View raw message