On 6/12/01 7:07 PM, "michael young" <[EMAIL PROTECTED]> wrote:
> Kevin,
>
> I understand the compiler error. The problem is that the file I'm compiling
> comes from the CVS sources I've checked out from the jakarta-turbine
> workspace. I've been trying to import these source files into JBuilder,
> however, I am experiencing compilation errors. The only way I've been able
> to successfully compile the Turbine sources is using ant, and I've been
> wondering if that is the only way to compile the sources. I'd like to be
> able to compile under Jbuilder in case I need to debug the source files.
I'm sure you can get it to work under Jbuilder :-) I don't use
it myself so I'm not much help.
But do you could document your journey setting up Turbine
for development in Jbuilder? If you post a text file I'll
turn it into an xdoc.
> Michael
>
>
>> From: Kevin Rutherford <[EMAIL PROTECTED]>
>> Reply-To: [EMAIL PROTECTED]
>> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>> Subject: RE: building turbine sources
>> Date: Tue, 12 Jun 2001 16:59:46 -0600
>>
>> Michael,
>>
>> When you use Criteria.add(), the compiler can get confused if the value you
>> are searching for is a String (it is both a String and an Object). You can
>> simply cast it so that it matches the appropriate add() method signature
>> like this:
>>
>> tempCrit.add(User.FIRST_NAME, (Object)searchString,
>> Criteria.LIKE);
>>
>> Kevin
>>
>>> -----Original Message-----
>>> From: Jon Stevens [mailto:[EMAIL PROTECTED]]
>>> Sent: Tuesday, June 12, 2001 4:34 PM
>>> To: Turbine-user
>>> Subject: Re: building turbine sources
>>>
>>>
>>> on 6/12/01 3:32 PM, "michael young" <[EMAIL PROTECTED]> wrote:
>>>
>>>> I've tried importing the Turbine sources into JBuilder.
>>> When I compile, I
>>>> get a handful of deprecation warnings (I'm sure those are expected).
>>>
>>> Expected...although some of them need to be fixed to use the
>>> non-deprecated
>>> code...
>>>
>>>> I also
>>>> get an error on CriteriaTest.java:
>>>> "CriteriaTest.java": Error #: 304 : reference to add is
>>> ambiguous; both
>>>> method add(java.lang.String, java.lang.Object,
>>> java.lang.String) in class
>>>> org.apache.turbine.util.db.Criteria and method add(java.lang.String,
>>>> java.lang.String, java.lang.Object) in class
>>>> org.apache.turbine.util.db.Criteria match at line 102, column 11
>>>>
>>>> Does anyone have a clue?
>>>>
>>>> Michael
>>>
>>> Weird...things compile just fine for me with Jikes...I wonder
>>> what compiler
>>> you are using...
>>>
>>> -jon
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
jvz.
http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]