[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-ant-dev] build.compiler problem in Eclipse
|
Not yet but it is on the way... The ant support will probably change on
the next 2 or 3 weeks. We are still defining the shape of it but having a
property set in order to tell if you're running inside or outside Eclipse
is on the plan. Cannot give you much more details since we also don't have
them :)
Rodrigo
"Bianca J" <biancajiang@xxxxxxxxxxx>
Sent by: platform-ant-dev-admin@xxxxxxxxxxx
02/15/2002 11:23 AM
Please respond to platform-ant-dev
To: platform-ant-dev@xxxxxxxxxxx
cc:
Subject: [platform-ant-dev] build.compiler problem in Eclipse
I had the same problem and then found the workaround of either add the
build.compiler property in the build file or set the property as an
argument
when running Ant from Eclipse. But I am looking for a generic way to
run Ant in and outside Eclipse.
Is there a way to tell from the build file whether it is running inside or
out of
Eclipse, so that we can set the property conditionally?
Thanks,
Bianca
-----Original Message-----
From: platform-ant-dev-admin@xxxxxxxxxxx
[mailto:platform-ant-dev-admin@xxxxxxxxxxx]On Behalf Of Maddison, David
Sent: Thursday, November 15, 2001 5:38 PM
To: 'platform-ant-dev@xxxxxxxxxxx'
Subject: RE: [platform-ant-dev] Compiler Problem
Yeeha! Thanks mark that fixed the problem!
BTW is this documented somewhere? It would be nice if it worked without
amending the build script so that it works in and outside eclipse.
Thanks again,
Dave
>> -----Original Message-----
>> From: Mark Ayad [mailto:mayad@xxxxxxxxxx]
>> Sent: 15 November 2001 16:22
>> To: platform-ant-dev@xxxxxxxxxxx
>> Subject: RE: [platform-ant-dev] Compiler Problem
>>
>>
>> David
>>
>>! <!-- set global properties for this build -->
>> <property name="build.compiler"
>> value="org.eclipse.pde.internal.core.JDTCompilerAdapter"/>
>>
>> Well it worked for me.
>>
>> Regards
>>
>> Mark
>>
>>
>> -----Original Message-----
>> From: platform-ant-dev-admin@xxxxxxxxxxx
>> [mailto:platform-ant-dev-admin@xxxxxxxxxxx]On Behalf Of
>> Maddison, David
>> Sent: Thursday, November 15, 2001 5:05 PM
>> To: 'platform-ant-dev@xxxxxxxxxxx'
>> Subject: [platform-ant-dev] Compiler Problem
>>
>>
>> Love the ANT integration, however whenever I try and run my
>> ! ; build.xml file
>> the ant console reports:
>> ;
>> BuildException:
>> D:\programfiles\eclipse\workspace\Test\build.xml:13: Cannot
>> use classic compiler, as it is not available A common
>> solution is to set the
>> environment variable JAVA_HOME to your jdk directory..
>>
>> However the JAVA_HOME variable is set (WinNT), I've even
>> got the build file
>> to echo the value. The ant script works outside of eclipse.
>>
>> Am I doing something wrong or is this a known problem?
>>
>> Thanks,
>> David Maddison <<<< D&B >>>>
>>
Join the world's largest e-mail service with MSN Hotmail. Click Here
_______________________________________________ platform-ant-dev mailing
list platform-ant-dev@xxxxxxxxxxx http://dev.eclipse.org/mailman/listinfo/platform-ant-dev