You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Andrew C. Oliver" <ac...@apache.org> on 2003/08/02 15:53:21 UTC

FW: Chinese Translation (Re: Cell value encoding)

Any help you guys can offer on this will be greatly appreciated.
-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?

------ Forwarded Message
From: Tetsuya Kitahata <te...@apache.org>
Reply-To: "POI Users List" <po...@jakarta.apache.org>
Date: Sat, 02 Aug 2003 22:51:33 +0900
To: "POI Users List" <po...@jakarta.apache.org>, "Xuemin Guan"
<xu...@appresso.com>
Subject: Chinese Translation (Re: Cell value encoding)

Xuemin,


Greeeeeeeeeeeeeeat!! Very appreciative!!

However, I know that you will have a trouble in
building the current POI website. (What people in
multi-byte chars must undergo...)

Anyway, I need more information from you. Could you
please give me the info of your environment?
(Which tool do you use in editing the xmls?
Windows Japanese/Traditional Chinese/**** (I forgot) Chinese Edition?
Are there any free fonts of chinese? (just my ignorance, sorry))

I think (temporarily) uploading the docs (not xdocs)
from Xuemin (built site by Xuemin) directly to daedalus
will be the best choice. I am willing to volunteer to do this.

Also, I am thinking about the i18n/m17n of the Apache Software
Foundation (infrastructure for the translators, etc) and
I hope it will be achieved sooner or later.

-- Tetsuya (tetsuya@apache.org)

P.S. Andrew, Chinese/Korean/Japanese are different from
western languages. you can not build the chinese/japanese
sites from xdocs in your environment, i guess. I need more
wisdom from all over the world!

--

On Sat, 2 Aug 2003 20:58:05 +0900
(Subject: Re: Cell value encoding)
"Xuemin Guan" <xu...@appresso.com> wrote:

> Hello, guys, thanks for all the emails. As I am a Chinese native
> spearker, doing a Chinese version documentation would be a cinch for
> me. I would like to do it as part of this site, if possible. I can start
> this straightaway. Any suggestions, hints, or guidlines on documentation
> are all welcome.
> 
> Cheers,
> 
> Xuemin
> 
> ----- Original Message -----
> From: "Tetsuya Kitahata" <te...@apache.org>
> To: "POI Users List" <po...@jakarta.apache.org>
> Sent: Saturday, August 02, 2003 1:54 PM
> Subject: Re: Cell value encoding
> 
> 
> >
> > Yes, sure.
> >
> > I know that appresso is a japanese company (because my company is
> > also listed up to the "Opensource Technology Alliance"), however,
> > I am not sure which language you (Mr. Xuemin Guan) often use.
> >
> > I think I can help you in some points.
> >
> > Thank you.
> >
> > -- Tetsuya (tetsuya@apache.org)
> >
> > P.S. Andrew, there are many problems building POI-site in
> > japanese/korean/chinese languages, because the default
> > lacks the those 3 language's fonts. (in the process of the
> > creation of PDF files)
> >
> > On Sat, 02 Aug 2003 00:43:31 -0400
> > (Subject: Re: Cell value encoding)
> > "Andrew C. Oliver" <ac...@apache.org> wrote:
> >
> > > Sure!  If you can write something up just kind of explaining what POI
> is,
> > > how to use it, the character encoding issue, etc that would be awesome.
> An
> > > article or how to, or something like that.  We'll publish it here and
> give
> > > you accords.
> > >
> > > If you want to do it as part of the site, just do it in the "xdoc"
> format
> > > that all the existing docuemntation is in.  Its basically XML.  See
> here:
> > >
> http://cvs.apache.org/viewcvs/jakarta-poi/src/documentation/content/xdocs/
> > >
> > > Tetsuya Kitahata can probably give you a few pointers with the encoding
> and
> > > the such.
> > >
> > > -andy
> > >
> > > On 8/1/03 11:42 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
> > >
> > > > Hello, Andy, surely I can do this. It is my pleasure if I can
> contribute
> > > > a bit to the POI project. Could you please point me a way of how do
> this?
> > > >
> > > > Thanks,
> > > >
> > > > Xuemin
> > > >
> > > > ----- Original Message -----
> > > > From: "Andrew C. Oliver" <ac...@apache.org>
> > > > To: "POI Users List" <po...@jakarta.apache.org>
> > > > Sent: Saturday, August 02, 2003 2:17 AM
> > > > Subject: Re: Cell value encoding
> > > >
> > > >
> > > >> Yeah man.  Pass the word along BTW.  If you can publish any
> non-english
> > > >> documentation on this it would sure help us out a lot.  We can always
> help
> > > >> with hosting it.
> > > >>
> > > >> Thanks,
> > > >>
> > > >> Andy
> > > >>
> > > >> On 8/1/03 1:12 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
> > > >>
> > > >>> Hello, Andy, thanks a lot for the note!
> > > >>>
> > > >>> Best,
> > > >>>
> > > >>> Xuemin
> > > >>>
> > > >>> ----- Original Message -----
> > > >>> From: "Andrew C. Oliver" <ac...@apache.org>
> > > >>> To: "POI Users List" <po...@jakarta.apache.org>
> > > >>> Sent: Friday, August 01, 2003 10:31 PM
> > > >>> Subject: Re: Cell value encoding
> > > >>>
> > > >>>
> > > >>>> You did the right thing.  The UTF_16 is a misnomer carried from the
> > > >>> earliest
> > > >>>> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET
> and
> > > >>>> SIXTEEN_BIT_CSET" or something.  The first case is useful only for
> US
> > > >>>> character sets.  The only problem is how to name this concisely and
> > > >>> clearly
> > > >>>> (because there are some eight bit character sets that excel writes
> in 2
> > > >>>> bytes because Excel is a silly format).
> > > >>>>
> > > >>>> -Andy
> > > >>>>
> > > >>>>
> > > >>>> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
> > > >>>>
> > > >>>>> Hello, dear all, I am having some problems dealding with
> > > >>>>> Japanese Characters. I set up a cell value as this:
> > > >>>>> cell.setCellValue("some Japanese characters go here");
> > > >>>>>
> > > >>>>> And I end up with wrong values in the generated XLS file.
> > > >>>>>
> > > >>>>> Then I looked up the POI API and souce code, and did the follow:
> > > >>>>>
> > > >>>>> cell.setEncoding((short)1);//Using UTF_16
> > > >>>>> cell.setCellValue("some Japanese characters go here");
> > > >>>>>
> > > >>>>> Then it worked fine. But I am not sure if this is the
> > > >>>>> right thing to do. Doesn't the POI/Excel supports something
> > > >>>>> like setting up the encoding using Shift_JS, ISO-8859-1
> > > >>>>> these stuff? Or I only have a choice between
> > > >>>>> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
> > > >>>>> And the thing I did was just right?
> > > >>>>>
> > > >>>>> Any hint will be highly appreciated.
> > > >>>>>
> > > >>>>> Best,
> > > >>>>>
> > > >>>>> Xuemin
> >
> >
> > -----------------------------------------------------
> > Tetsuya Kitahata --  Terra-International, Inc.
> > E-mail: tetsuya@apache.org
> > http://www.terra-intl.com/
> > (Apache Jakarta Translation, Japanese)
> > http://jakarta.terra-intl.com/
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> > Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> > The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

-----------------------------------------------------
Tetsuya Kitahata --  Terra-International, Inc.
E-mail: tetsuya@apache.org
http://www.terra-intl.com/
(Apache Jakarta Translation, Japanese)
http://jakarta.terra-intl.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


------ End of Forwarded Message


Scheduler Parameters

Posted by Mohammad Irfan <m_...@nurulfikri.co.id>.
Hello,
When I use JobEntry(second,minute,hour,weekday,dom,task) parameter
weekday must be filled with int 1-7. Is 1 = monday or Sunday?

thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Missed this off last post
Roger


Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Missed this off last post
Roger

Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Hello Jeff
----- Original Message -----
From: "Jeffery Painter" <pa...@kiasoft.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Sunday, August 03, 2003 1:44 AM
Subject: Re: TDK - problem building distribution


> Hi Roger,
>
What I am really trying to achieve is just to get a working example web app
using maven. I was trying to get the web app sample app working that is
bundled with the TDK binary. This is Ant built; all the required jars are
bundled in the TDK dist. lib.
It builds the web app framework ok but when you try to build the table it
says it cannot find the jars but the jars are there
> Could you please send me your APPNAME-conf.xml file and maybe a copy of
There are no -conf.xml files under C:\tdk-2.2 (where I unzipped the binary
dist and set the TDK_HOME env var and already built the webapp framework Ok)
> your TurbineResources.properties file offlist and I'll take a look.
Attached
>
> What platform and versions of java, ant, postgres are you using? I
Win XP Home, java "1.4.1_02", ant 1.5.3-1, postgres 7.3.3 but I dont think
it is to do with these or paths to same, as they have been stable for some
time working correctly with many other things.
> recently tried moving a working app from MySQL to postgres and ran into
The reason I switched to postgres was because of the problems I was having
with MySql on JBoss, then had a load of problems getting postgres working on
this platform. Nightmares. There are known issues with cygwin and postgresql
on windows XP home but these are resolved on this machine.
I am pretty certain there should be no problems with the db
> a few quirks that I may be able to quickly point out if I see these two
> files.
Is this what you need?
Thanks
Roger
>
> Thanks,
>
> Jeff Painter
> painter@kiasoft.com
>
>
> Roger Ackroyd wrote:
>
> >Am attempting to Install the TDK 2.2.1 distribution .tar and build the
> >sample Turbine application following:
> >http://jakarta.apache.org/turbine/tdk/tdk-howto.html
> >Everything behaves as expected until step 5 when following is the result:
> >
> > Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> >$ ant init
> >Buildfile: build.xml
> >check-webinf-exists:
> >setup-webinf:
> >init:
> >setup:
> >init-tasks:
> >BUILD FAILED
> >file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
> >org.apache.velocity.texen.
> >ant.TexenTask cannot be found
> >Total time: 1 second
> >Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> >$
> >
> >I have read and understand the purpose of each step described in the
> >document. All env. vars. are set correctly.
> >Only changes made are those indicated in document.
> >The database is set up for PostgreSQL but I do'nt think from the above
that
> >we have reached that point.
> >I was hoping that using this distribution I would eliminate all the
problems
> >I have had in building any Turbine application that I can use to get on
to
> >using Maven effectively.
> >Have been on with this and turbine/torque for a good few frustrating days
> >now so any assistance would be gladly appreciated
> >Thank you
> >Roger
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
>

Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Hello Jeff
----- Original Message -----
From: "Jeffery Painter" <pa...@kiasoft.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Sunday, August 03, 2003 1:44 AM
Subject: Re: TDK - problem building distribution


> Hi Roger,
>
What I am really trying to achieve is just to get a working example web app
using maven. I was trying to get the web app sample app working that is
bundled with the TDK binary. This is Ant built; all the required jars are
bundled in the TDK dist. lib.
It builds the web app framework ok but when you try to build the table it
says it cannot find the jars but the jars are there
> Could you please send me your APPNAME-conf.xml file and maybe a copy of
There are no -conf.xml files under C:\tdk-2.2 (where I unzipped the binary
dist and set the TDK_HOME env var and already built the webapp framework Ok)
> your TurbineResources.properties file offlist and I'll take a look.
Attached
>
> What platform and versions of java, ant, postgres are you using? I
Win XP Home, java "1.4.1_02", ant 1.5.3-1, postgres 7.3.3 but I dont think
it is to do with these or paths to same, as they have been stable for some
time working correctly with many other things.
> recently tried moving a working app from MySQL to postgres and ran into
The reason I switched to postgres was because of the problems I was having
with MySql on JBoss, then had a load of problems getting postgres working on
this platform. Nightmares. There are known issues with cygwin and postgresql
on windows XP home but these are resolved on this machine.
I am pretty certain there should be no problems with the db
> a few quirks that I may be able to quickly point out if I see these two
> files.
Is this what you need?
Thanks
Roger
>
> Thanks,
>
> Jeff Painter
> painter@kiasoft.com
>
>
> Roger Ackroyd wrote:
>
> >Am attempting to Install the TDK 2.2.1 distribution .tar and build the
> >sample Turbine application following:
> >http://jakarta.apache.org/turbine/tdk/tdk-howto.html
> >Everything behaves as expected until step 5 when following is the result:
> >
> > Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> >$ ant init
> >Buildfile: build.xml
> >check-webinf-exists:
> >setup-webinf:
> >init:
> >setup:
> >init-tasks:
> >BUILD FAILED
> >file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
> >org.apache.velocity.texen.
> >ant.TexenTask cannot be found
> >Total time: 1 second
> >Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> >$
> >
> >I have read and understand the purpose of each step described in the
> >document. All env. vars. are set correctly.
> >Only changes made are those indicated in document.
> >The database is set up for PostgreSQL but I do'nt think from the above
that
> >we have reached that point.
> >I was hoping that using this distribution I would eliminate all the
problems
> >I have had in building any Turbine application that I can use to get on
to
> >using Maven effectively.
> >Have been on with this and turbine/torque for a good few frustrating days
> >now so any assistance would be gladly appreciated
> >Thank you
> >Roger
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
>


Re: TDK - problem building distribution

Posted by Jeffery Painter <pa...@kiasoft.com>.
Hi Roger,

Could you please send me your APPNAME-conf.xml file and maybe a copy of 
your TurbineResources.properties file offlist and I'll take a look.

What platform and versions of java, ant, postgres are you using? I 
recently tried moving a working app from MySQL to postgres and ran into 
a few quirks that I may be able to quickly point out if I see these two 
files.

Thanks,

Jeff Painter
painter@kiasoft.com


Roger Ackroyd wrote:

>Am attempting to Install the TDK 2.2.1 distribution .tar and build the
>sample Turbine application following:
>http://jakarta.apache.org/turbine/tdk/tdk-howto.html
>Everything behaves as expected until step 5 when following is the result:
>
> Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
>$ ant init
>Buildfile: build.xml
>check-webinf-exists:
>setup-webinf:
>init:
>setup:
>init-tasks:
>BUILD FAILED
>file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
>org.apache.velocity.texen.
>ant.TexenTask cannot be found
>Total time: 1 second
>Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
>$
>
>I have read and understand the purpose of each step described in the
>document. All env. vars. are set correctly.
>Only changes made are those indicated in document.
>The database is set up for PostgreSQL but I do'nt think from the above that
>we have reached that point.
>I was hoping that using this distribution I would eliminate all the problems
>I have had in building any Turbine application that I can use to get on to
>using Maven effectively.
>Have been on with this and turbine/torque for a good few frustrating days
>now so any assistance would be gladly appreciated
>Thank you
>Roger
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: TDK - problem building distribution

Posted by Jeffery Painter <pa...@kiasoft.com>.
Hi Roger,

Could you please send me your APPNAME-conf.xml file and maybe a copy of 
your TurbineResources.properties file offlist and I'll take a look.

What platform and versions of java, ant, postgres are you using? I 
recently tried moving a working app from MySQL to postgres and ran into 
a few quirks that I may be able to quickly point out if I see these two 
files.

Thanks,

Jeff Painter
painter@kiasoft.com


Roger Ackroyd wrote:

>Am attempting to Install the TDK 2.2.1 distribution .tar and build the
>sample Turbine application following:
>http://jakarta.apache.org/turbine/tdk/tdk-howto.html
>Everything behaves as expected until step 5 when following is the result:
>
> Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
>$ ant init
>Buildfile: build.xml
>check-webinf-exists:
>setup-webinf:
>init:
>setup:
>init-tasks:
>BUILD FAILED
>file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
>org.apache.velocity.texen.
>ant.TexenTask cannot be found
>Total time: 1 second
>Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
>$
>
>I have read and understand the purpose of each step described in the
>document. All env. vars. are set correctly.
>Only changes made are those indicated in document.
>The database is set up for PostgreSQL but I do'nt think from the above that
>we have reached that point.
>I was hoping that using this distribution I would eliminate all the problems
>I have had in building any Turbine application that I can use to get on to
>using Maven effectively.
>Have been on with this and turbine/torque for a good few frustrating days
>now so any assistance would be gladly appreciated
>Thank you
>Roger
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>  
>



Scheduler Parameters

Posted by Mohammad Irfan <m_...@nurulfikri.co.id>.
Hello,
When I use JobEntry(second,minute,hour,weekday,dom,task) parameter
weekday must be filled with int 1-7. Is 1 = monday or Sunday?

thank you.


Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Lee
It fails because none of the jars get copied into into the   ..\webapps\newapp\WEB-INF\lib on the first of the ant builds. You  will probably find that it is empty.
Note there is a \tdk\lib folder under the TDK_HOME full of jars.. I just copied the lot into the ..\WEB-INF\lib and ant init then runs fine.
I am wondering if the TDK has been 'mavenised' in some way but this does not seem quite right because there are no project.xml files. 
As you may know, a Maven build would normally obtain all the jars it needs from a central repository as it needs them at buildtime (pretty neat).
If this is a/the solution then a note to that effect might have been expected in a ReadME. As it stands, the distribution build is 'broken' according to the instructions as given. Have a try with that and see how it goes.
Roger
  
----- Original Message ----- 
From: "Lee Grey" <le...@mindspring.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Monday, August 04, 2003 3:08 AM
Subject: RE: TDK - problem building distribution


> Roger,
> 
> You are running into the same problem I'm having, but on a different line in
> build.xml.  I am getting this:
> e
> # ant init
> Buildfile: build.xml
> check-webinf-exists:
> setup-webinf:
> init:
> setup:
> init-tasks:
> create-database:
> BUILD FAILED
> file:/var/tdk-2.2/webapps/newapp/WEB-INF/build/build-torque.xml:91: taskdef
> class org.apache.torque.task.TorqueJDBCTransformTask cannot be found
> 
> Interestingly, I found someone else
> (http://www.computing.net/programming/wwwboard/forum/7251.html) who has this
> error:
> 
> $ ant -f build-torque.xml create-db
> Buildfile: build-torque.xml
> BUILD FAILED
> file:c:/torque-3.0.1/build-torque.xml:87: taskdef class
> org.apache.torque.task.TorqueDataModelTask cannot be found
> 
> 
> I've succeeded in doing this whole process on a Windows machine, but I can't
> get past this error on my Linux box.  I have checked within torque-3.0.jar
> in the lib directory, and it contains the "missing" class.
> 
> Now that there are at least three people having this problem, it seems to be
> something more significant than mere operator error.  Any ideas?
> 
> Thanks,
> Lee Grey
> 
> 
> -----Original Message-----
> From: Roger Ackroyd [mailto:maven@ackroyd.freeserve.co.uk]
> Sent: Saturday, August 02, 2003 4:17 PM
> To: Turbine Users List
> Subject: TDK - problem building distribution
> 
> 
> Am attempting to Install the TDK 2.2.1 distribution .tar and build the
> sample Turbine application following:
> http://jakarta.apache.org/turbine/tdk/tdk-howto.html
> Everything behaves as expected until step 5 when following is the result:
> 
>  Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> $ ant init
> Buildfile: build.xml
> check-webinf-exists:
> setup-webinf:
> init:
> setup:
> init-tasks:
> BUILD FAILED
> file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
> org.apache.velocity.texen.
> ant.TexenTask cannot be found
> Total time: 1 second
> Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> $
> 
> I have read and understand the purpose of each step described in the
> document. All env. vars. are set correctly.
> Only changes made are those indicated in document.
> The database is set up for PostgreSQL but I do'nt think from the above that
> we have reached that point.
> I was hoping that using this distribution I would eliminate all the problems
> I have had in building any Turbine application that I can use to get on to
> using Maven effectively.
> Have been on with this and turbine/torque for a good few frustrating days
> now so any assistance would be gladly appreciated
> Thank you
> Roger
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> 
> 

RE: TDK - problem building distribution

Posted by Lee Grey <le...@mindspring.com>.
Roger,

You are running into the same problem I'm having, but on a different line in
build.xml.  I am getting this:

# ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
create-database:
BUILD FAILED
file:/var/tdk-2.2/webapps/newapp/WEB-INF/build/build-torque.xml:91: taskdef
class org.apache.torque.task.TorqueJDBCTransformTask cannot be found

Interestingly, I found someone else
(http://www.computing.net/programming/wwwboard/forum/7251.html) who has this
error:

$ ant -f build-torque.xml create-db
Buildfile: build-torque.xml
BUILD FAILED
file:c:/torque-3.0.1/build-torque.xml:87: taskdef class
org.apache.torque.task.TorqueDataModelTask cannot be found


I've succeeded in doing this whole process on a Windows machine, but I can't
get past this error on my Linux box.  I have checked within torque-3.0.jar
in the lib directory, and it contains the "missing" class.

Now that there are at least three people having this problem, it seems to be
something more significant than mere operator error.  Any ideas?

Thanks,
Lee Grey


-----Original Message-----
From: Roger Ackroyd [mailto:maven@ackroyd.freeserve.co.uk]
Sent: Saturday, August 02, 2003 4:17 PM
To: Turbine Users List
Subject: TDK - problem building distribution


Am attempting to Install the TDK 2.2.1 distribution .tar and build the
sample Turbine application following:
http://jakarta.apache.org/turbine/tdk/tdk-howto.html
Everything behaves as expected until step 5 when following is the result:

 Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$ ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
BUILD FAILED
file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
org.apache.velocity.texen.
ant.TexenTask cannot be found
Total time: 1 second
Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$

I have read and understand the purpose of each step described in the
document. All env. vars. are set correctly.
Only changes made are those indicated in document.
The database is set up for PostgreSQL but I do'nt think from the above that
we have reached that point.
I was hoping that using this distribution I would eliminate all the problems
I have had in building any Turbine application that I can use to get on to
using Maven effectively.
Have been on with this and turbine/torque for a good few frustrating days
now so any assistance would be gladly appreciated
Thank you
Roger



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


RE: TDK - problem building distribution

Posted by Lee Grey <le...@mindspring.com>.
Roger,

You are running into the same problem I'm having, but on a different line in
build.xml.  I am getting this:

# ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
create-database:
BUILD FAILED
file:/var/tdk-2.2/webapps/newapp/WEB-INF/build/build-torque.xml:91: taskdef
class org.apache.torque.task.TorqueJDBCTransformTask cannot be found

Interestingly, I found someone else
(http://www.computing.net/programming/wwwboard/forum/7251.html) who has this
error:

$ ant -f build-torque.xml create-db
Buildfile: build-torque.xml
BUILD FAILED
file:c:/torque-3.0.1/build-torque.xml:87: taskdef class
org.apache.torque.task.TorqueDataModelTask cannot be found


I've succeeded in doing this whole process on a Windows machine, but I can't
get past this error on my Linux box.  I have checked within torque-3.0.jar
in the lib directory, and it contains the "missing" class.

Now that there are at least three people having this problem, it seems to be
something more significant than mere operator error.  Any ideas?

Thanks,
Lee Grey


-----Original Message-----
From: Roger Ackroyd [mailto:maven@ackroyd.freeserve.co.uk]
Sent: Saturday, August 02, 2003 4:17 PM
To: Turbine Users List
Subject: TDK - problem building distribution


Am attempting to Install the TDK 2.2.1 distribution .tar and build the
sample Turbine application following:
http://jakarta.apache.org/turbine/tdk/tdk-howto.html
Everything behaves as expected until step 5 when following is the result:

 Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$ ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
BUILD FAILED
file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
org.apache.velocity.texen.
ant.TexenTask cannot be found
Total time: 1 second
Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$

I have read and understand the purpose of each step described in the
document. All env. vars. are set correctly.
Only changes made are those indicated in document.
The database is set up for PostgreSQL but I do'nt think from the above that
we have reached that point.
I was hoping that using this distribution I would eliminate all the problems
I have had in building any Turbine application that I can use to get on to
using Maven effectively.
Have been on with this and turbine/torque for a good few frustrating days
now so any assistance would be gladly appreciated
Thank you
Roger



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Am attempting to Install the TDK 2.2.1 distribution .tar and build the
sample Turbine application following:
http://jakarta.apache.org/turbine/tdk/tdk-howto.html
Everything behaves as expected until step 5 when following is the result:

 Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$ ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
BUILD FAILED
file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
org.apache.velocity.texen.
ant.TexenTask cannot be found
Total time: 1 second
Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$

I have read and understand the purpose of each step described in the
document. All env. vars. are set correctly.
Only changes made are those indicated in document.
The database is set up for PostgreSQL but I do'nt think from the above that
we have reached that point.
I was hoping that using this distribution I would eliminate all the problems
I have had in building any Turbine application that I can use to get on to
using Maven effectively.
Have been on with this and turbine/torque for a good few frustrating days
now so any assistance would be gladly appreciated
Thank you
Roger



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Am attempting to Install the TDK 2.2.1 distribution .tar and build the
sample Turbine application following:
http://jakarta.apache.org/turbine/tdk/tdk-howto.html
Everything behaves as expected until step 5 when following is the result:

 Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$ ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
BUILD FAILED
file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
org.apache.velocity.texen.
ant.TexenTask cannot be found
Total time: 1 second
Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$

I have read and understand the purpose of each step described in the
document. All env. vars. are set correctly.
Only changes made are those indicated in document.
The database is set up for PostgreSQL but I do'nt think from the above that
we have reached that point.
I was hoping that using this distribution I would eliminate all the problems
I have had in building any Turbine application that I can use to get on to
using Maven effectively.
Have been on with this and turbine/torque for a good few frustrating days
now so any assistance would be gladly appreciated
Thank you
Roger