Whoops...
The line I added was to:
jakarta-turbine-2/src/java/org/apache/turbine/util/db/map/IDMethod.java
-----Original Message-----
From: Lang, Cliff
Sent: Wednesday, August 22, 2001 8:15 AM
To: [EMAIL PROTECTED]
Subject: RE: error while retrieving Users from PostgreSQL
After pulling the jakarta-turbine-2 CVS tree, compiling anf moving the
jar, I received the following error when building the tdk --
ERROR:
init-tasks:
project-om:
[echo] +------------------------------------------+
[echo] | |
[echo] | Generating Peer-based Object Model for |
[echo] | YOUR Turbine project! Woo hoo! |
[echo] | |
[echo] +------------------------------------------+
[null]
/usr/local/tomcat-build/tdk-www_db/tdk/webapps/www_db/WEB-INF/src/java/r
eport.www_db.om.generation
update-tr-props:
[copy] Copying 1 file to
/usr/local/tomcat-build/tdk-www_db/tdk/webapps/www_db/WEB-INF/conf
[move] Moving 1 files to
/usr/local/tomcat-build/tdk-www_db/tdk/webapps/www_db/WEB-INF/conf
compile:
[javac] Compiling 4 source files to
/usr/local/tomcat-build/tdk-www_db/tdk/webapps/www_db/WEB-INF/classes
[javac]
/usr/local/tomcat-build/tdk-www_db/tdk/webapps/www_db/WEB-INF/src/java/o
rg/pxcm/www_db/om/map/RdfMapBuilder.java:95: cannot resolve symbol
[javac] symbol : variable NONE
[javac] location: class org.apache.turbine.util.db.map.TableMap
[javac] tMap.setPrimaryKeyMethod(TableMap.NONE);
[javac] ^
[javac] 1 error
BUILD FAILED
Compile failed, messages should have been provided.
To fix I added line number 92. Everything compiled and is working. (I
know this isn't the best way to fix, but I'm not sure who's code is
incorrect.)
86
87 /**
88 * No RDBMS key generation (keys may be generated by the
89 * application).
90 */
91 public static final String NO_ID_METHOD = "none";
92 public static final String NONE = "none";
93 }
Thanks, Cliff
-----Original Message-----
From: Jerome Verleyen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 10:56 AM
To: [EMAIL PROTECTED]
Subject: Re: error while retrieving Users from PostgreSQL
"Lang, Cliff" wrote:
>
> I am running Turbine release 2.1 and trying to use PostgreSQL. As
> suggested below I went to get the CVS version and things got confusing
-
> In order to patch (or replace) 2.1, which cvs tree should I get?
> turbine-2, turbine-torque or turbine-tdk? Once I have the right tree
-
> How do I patch my 2.1, or should I replace it?
>
yes, you get jakarta-turbine-2, and do and "ant" in the build
directory..
after you have to get the jar archive turbine.xx.jar in the bin
directory and replace the turbine.jar in the WEB-INF/lib/ directory of
your application.
Jerome Verleyen
--
[article sympost� dans "fr.rec.divers", "fr.sci.cogni.incognito",
"fr.res-doct.archi" et "fr.bio.canauxioniques"; suivi-� dirig� sur
"fr.bio.canauxioniques"]
-+- GOF in: Guide du Cabaliste Usenet - La Cabale s'�tale -+-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]