Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ant-dev] New ant support

I just wanted to emphasize that we are very interested in making this work
for you.  The 2.0 ant work is still in progress, but please keep hounding
us if it continues to fail to meet your needs.

I'm curious about your final request about ant script properties.  Are you
just asking that the parameters passed to an individual ant script be
persisted across sessions?  This is already done for you.  Or are you
asking for a page where you can set properties (or other arguments) that
will be passed to ALL ant scripts in a given project?  Please enter a
feature request describing exactly what you're looking for, and we'll be
happy to investigate:

http://dev.eclipse.org/bugs/enter_feature.cgi


Thanks for the feedback.

John.




                                                                                                                     
                      David.Bailey@xxxxxxxxxx                                                                        
                      Sent by:                        To:      platform-ant-dev@xxxxxxxxxxx                          
                      platform-ant-dev-admin@         cc:                                                            
                      eclipse.org                     Subject: [platform-ant-dev] New ant support                    
                                                                                                                     
                                                                                                                     
                      04/16/2002 09:09 AM                                                                            
                      Please respond to                                                                              
                      platform-ant-dev                                                                               
                                                                                                                     
                                                                                                                     





I downloaded the latest (4/12) integration build in the hopes that it would
meet
the stated goal of making it easier to run Ant scripts without
modification, but I
was disappointed.

We have a reasonably mature (2+ years old) collection of Ant scripts which
we
use to build our base environment Java classes.  We do not want to modify
them,
even by using "if" and "unless" attributes, to run in Eclipse.  We just
want to load
our source tree into Eclipse, run the Ant wizard, and have it build.
(Note: We can
do this successfully in NetBeans).

My understanding was that this was the goal for Eclipse 2.0.  However, when
I
attempted this in the 4/12 build, I still got the error message about
"Cannot use
classic compiler . . . .".  So I attempted to pass '-Dbuild.compiler= . .
.' to Ant
via the Ant wizard.  However, I also need to pass one additional property
using
this wizard, and it seems that if I pass '-Dbuild.compiler= . . .', then
the attempt
to define my other property is ignored.

So, as an experiment, I went ahead and added a <property> tag to the top of
my
build.xml file, just to see if that would allow me to define all of the
properties I need.
This does appear to work, but then I was getting an error in my <javac>
tasks,
stating that '-extdir' is not defined.  I do use the "extdir" property in
the <javac> task,
but I think I supply an actual value there.

In sum, we cannot consider Eclipse as a development IDE until it is able to
run
all of our build files without modifying them to be Eclipse-aware.  And we
would
really like to be able to use Eclipse, because it has a cleaner and less
flaky UI
than NetBeans.

It would also be very nice, though not a requirement, if it were possible
to define
all Ant command-line properties ("-DPROPERTY=. . .") only once for each
project.
I believe that currently, one has to redefine them each time you re-start
the IDE, but
I'm sure that I might be wrong about that.







Back to the top