You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Herve Guidetti <He...@idbsoft.ch> on 2001/08/10 14:56:24 UTC

RE: ant compile

Verify if your ant.jar contains the classes. 
It seams to be a ant version problem.

Herve


> -----Original Message-----
> From: vvidov@aremissoft.bg [mailto:v.vidov@aremissoft.bg]
> Sent: vendredi, 10. aout 2001 15:15
> To: turbine-user@jakarta.apache.org
> Subject: ant compile
> 
> 
> hi
> Iam brand new turbine user.
> when I try to build first newapp I got following message
> what's wrong?
> 10x
> 
> D:\tdk\webapps\newapp\WEB-INF\build>ant compile
> Searching for build.xml ...
> Buildfile: D:\tdk\webapps\newapp\WEB-INF\build\build.xml
> 
> compile:
>     [javac] Compiling 25 source files to
> D:\tdk\webapps\newapp\WEB-INF\classes
>     [javac] Modern compiler is not available - using classic compiler
> 
> BUILD FAILED
> 
> 
> ---------------------------------------------------------------------
> 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: ant compile

Posted by vvidov <vv...@yahoo.com>.
yes
I havn't it. Where I can download from?
I downloaded jakarta-ant-1.3-bin.tar.gz but there was not javac class.
regards
v.vidov
----- Original Message ----- 
From: "Herve Guidetti" <He...@idbsoft.ch>
To: <tu...@jakarta.apache.org>
Sent: Friday, August 10, 2001 2:56 PM
Subject: RE: ant compile


Verify if your ant.jar contains the classes. 
It seams to be a ant version problem.

Herve


> -----Original Message-----
> From: vvidov@aremissoft.bg [mailto:v.vidov@aremissoft.bg]
> Sent: vendredi, 10. aout 2001 15:15
> To: turbine-user@jakarta.apache.org
> Subject: ant compile
> 
> 
> hi
> Iam brand new turbine user.
> when I try to build first newapp I got following message
> what's wrong?
> 10x
> 
> D:\tdk\webapps\newapp\WEB-INF\build>ant compile
> Searching for build.xml ...
> Buildfile: D:\tdk\webapps\newapp\WEB-INF\build\build.xml
> 
> compile:
>     [javac] Compiling 25 source files to
> D:\tdk\webapps\newapp\WEB-INF\classes
>     [javac] Modern compiler is not available - using classic compiler
> 
> BUILD FAILED
> 
> 
> ---------------------------------------------------------------------
> 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


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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


Re: addOrderByColumn doesn't work

Posted by Eric Dobbs <er...@dobbse.net>.
Have you tried either of these in the 2.1 code?
addAscendingOrderByColumn() or
addDescendingOrderByColumn()

I've used these just this week and they work fine.
-Eric

On Monday, August 13, 2001, at 01:24  AM, Hristo Kosev wrote:

> --- John McNally <jm...@collab.net> wrote:
>> Print out the criteria.toString().  It will give an
>> incomplete sql
>> statement, but it will show everything after the
>> WHERE.  Does it look
>> correct?
>
> Actually when I print the Criteria without previously
> setting orderByColumn Criteria.toString() outputs the
> correct SQL query but when I set orderByColumn it
> doesn't output anything...?!
>
> Hristo Kosev
>
>> john mcnally
>>
>>
>>
>> Hristo Kosev wrote:
>>>
>>> Hi,
>>> I want to report that addOrderByColumn doesn't
>> work.
>>> I use Turbine v2.1(the version that comes with TDK
>>> 2.1) and MySQL v3.23.36
>>> For example if I have table TableA (with columns
>> ID
>>> and NAME) and TableAPeer class
>>> when I do:
>>>
>>> Criteria c = new Criteria();
>>> Vector records = TableAPeer.select(c, db);
>>>
>>> I get all of the records from this table but when
>> I
>>> do:
>>>
>>> Criteria c = new Criteria();
>>> c.addOrderByColumn(TableAPeer.ID);
>>> Vector records = TableAPeer.doSelect(c, db);
>>>
>>> I don't get any records. I tried with
>>> addAscendingOrderByColumn and
>>> addDescendingOrderByColumn too but there was no
>>> result. I also try to select the records as
>> village
>>> records with doSelectVillageRecords but it was all
>> the
>>> same.
>>>
>>> Hristo Kosev
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
> ---------------------------------------------------------------------
> 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: addOrderByColumn doesn't work

Posted by Hristo Kosev <hk...@yahoo.com>.
--- John McNally <jm...@collab.net> wrote:
> Print out the criteria.toString().  It will give an
> incomplete sql
> statement, but it will show everything after the
> WHERE.  Does it look
> correct?

Actually when I print the Criteria without previously
setting orderByColumn Criteria.toString() outputs the
correct SQL query but when I set orderByColumn it
doesn't output anything...?!

Hristo Kosev

> john mcnally
> 
> 
> 
> Hristo Kosev wrote:
> > 
> > Hi,
> > I want to report that addOrderByColumn doesn't
> work.
> > I use Turbine v2.1(the version that comes with TDK
> > 2.1) and MySQL v3.23.36
> > For example if I have table TableA (with columns
> ID
> > and NAME) and TableAPeer class
> > when I do:
> > 
> > Criteria c = new Criteria();
> > Vector records = TableAPeer.select(c, db);
> > 
> > I get all of the records from this table but when
> I
> > do:
> > 
> > Criteria c = new Criteria();
> > c.addOrderByColumn(TableAPeer.ID);
> > Vector records = TableAPeer.doSelect(c, db);
> > 
> > I don't get any records. I tried with
> > addAscendingOrderByColumn and
> > addDescendingOrderByColumn too but there was no
> > result. I also try to select the records as
> village
> > records with doSelectVillageRecords but it was all
> the
> > same.
> > 
> > Hristo Kosev

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

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


Re: addOrderByColumn doesn't work

Posted by John McNally <jm...@collab.net>.
Print out the criteria.toString().  It will give an incomplete sql
statement, but it will show everything after the WHERE.  Does it look
correct?

john mcnally



Hristo Kosev wrote:
> 
> Hi,
> I want to report that addOrderByColumn doesn't work.
> I use Turbine v2.1(the version that comes with TDK
> 2.1) and MySQL v3.23.36
> For example if I have table TableA (with columns ID
> and NAME) and TableAPeer class
> when I do:
> 
> Criteria c = new Criteria();
> Vector records = TableAPeer.select(c, db);
> 
> I get all of the records from this table but when I
> do:
> 
> Criteria c = new Criteria();
> c.addOrderByColumn(TableAPeer.ID);
> Vector records = TableAPeer.doSelect(c, db);
> 
> I don't get any records. I tried with
> addAscendingOrderByColumn and
> addDescendingOrderByColumn too but there was no
> result. I also try to select the records as village
> records with doSelectVillageRecords but it was all the
> same.
> 
> Hristo Kosev
> 
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
> 
> ---------------------------------------------------------------------
> 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


addOrderByColumn doesn't work

Posted by Hristo Kosev <hk...@yahoo.com>.
Hi,
I want to report that addOrderByColumn doesn't work.
I use Turbine v2.1(the version that comes with TDK
2.1) and MySQL v3.23.36
For example if I have table TableA (with columns ID
and NAME) and TableAPeer class
when I do:

Criteria c = new Criteria();
Vector records = TableAPeer.select(c, db);

I get all of the records from this table but when I
do:

Criteria c = new Criteria();
c.addOrderByColumn(TableAPeer.ID);
Vector records = TableAPeer.doSelect(c, db);

I don't get any records. I tried with
addAscendingOrderByColumn and
addDescendingOrderByColumn too but there was no
result. I also try to select the records as village
records with doSelectVillageRecords but it was all the
same.

Hristo Kosev

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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