You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Matthew Pomar <ma...@hotmail.com> on 2003/08/30 20:40:09 UTC
why so difficult?
I'm now running the latest release version of Turbine (2.2_01) but cannot get any project to build without a multitude of Ant build errors. The instructions (tutorial) on the TDK website don't properly match the latest release version.
Could someone please tell me what I need to have setup in my environment to get Turbine to work properly? i.e. what JDK version? what Ant version? what turbine version? does it match the instructions?
I'm about 12 hours into just getting a sample for my own project to work but still don't have anthing but a huge list of Ant errors. Has anyone gotten Turbine 2.2_01 to work?
Thanks,
- Matt
Intake, torque, double and blobs
Posted by lqn <lo...@free.fr>.
Hi,
How can I use Intake to get doubles from intake forms ? With
turbine-2.2.jar, I get the following exception :
Exception : org.apache.turbine.util.TurbineException : Unsupported type :
double
at
org.apache.turbine.services.intake.model.FieldFactory.getInstance(FieldFacto
ry.java:194)
"double" is valid according to DTD.
Second problem :
VARCHAR is limited to 255 characters in MySQL. A string in my application
must be up to 8192 characters long. I map it to a BLOB in the database
schema. The problem arises when I try to setProperties(object) after an
intake validation : a type mismatch exception is thrown. I have tried to
define a "public void setMyString(String s)" with a s.getBytes() to call the
setMyString(bytes[] v) in the BaseObject, but it does not work properly.
As regards the first problem (double), I think I must try turbine 2.3. Is
this correct ?
Any help would be greatly appreciated.
Thanks in advance.
Loïc QUERAN
RE: why so difficult?
Posted by cctech <cc...@cityarchitect.co.uk>.
Ok,
I'm new to Turbine, but have no difficulty at all, so I guess it must be
your environment:
I'm using W98Se, Ant 1.5.2, tdk-2.2, jdk 1.3. make sure that you have
set up your environment variables:
ANT_HOME=c:\ant
JAVA_HOME=c:\jdk1.3
TDK_HOME=C:\tdk-2.2
Steve
-----Original Message-----
From: Matthew Pomar [mailto:matthewpomar@hotmail.com]
Sent: 30 August 2003 19:40
To: turbine-user@jakarta.apache.org
Subject: why so difficult?
I'm now running the latest release version of Turbine (2.2_01) but
cannot get any project to build without a multitude of Ant build errors.
The instructions (tutorial) on the TDK website don't properly match the
latest release version.
Could someone please tell me what I need to have setup in my environment
to get Turbine to work properly? i.e. what JDK version? what Ant
version? what turbine version? does it match the instructions?
I'm about 12 hours into just getting a sample for my own project to work
but still don't have anthing but a huge list of Ant errors. Has anyone
gotten Turbine 2.2_01 to work?
Thanks,
- Matt