Re: "I want an IDE that manage his projects by using Ant !"
Vincent Brabant <[email protected]>
| Newsgroups | gmane.comp.java.ide.netbeans.user,gmane.comp.java.netbeans.general,gmane.comp.java.netbeans.user-interface,gmane.comp.java.netbeans.devel |
|---|---|
| Message-ID | <[email protected]> |
As I am the first concerned (as author of the blog mentionned in your
mail), hereafter my feedbacks.
1. If I want to add a checkstyle task, where I have to add it ?
I can't add it into the build-impl.xml file, it's always
regenerated from project.xml. Do not edit it.
If I add it into the build.xml, I have no access to the property
like the source directory, the needed classpath, ...
What is the best solution.
2. We at work have already our own build.xml file and other people are
using somes Eclipse, Somes WSAD, somes JBuilder, ...
How can I continue to work with netbeans with the existing application
WITHOUT changing one character in the existing build.xml nor move one
file to another place ?
3. It seems that I can have only one source directory. But with NetBeans
I liked to mount more than one directory containing sources..
4. How does I have to work with netbeans sources repository and NB4.0
5. Why the ${netbeans.user} is pointing to the user directory and not to
the project directory. Because ${netbeans.user} is used to locate the
user.properties.file.
But it means that user.properties.file is not for a specific project but
for all projects.
And How take advantage of user.properties.file if I can't modify the
build-impl.xml file ?
6. Impossible to drag a class from your project and drop it in the Main
Class field nor right click on a class of your project and choose option
set as Main Class of the project.
7. I never success to create a dependence between MyApp and MyLib.
I mean, I success to add a Build Jar, and as mentionned in the doc, I
can add a jar that is not yet existing.
But when I build and execute the myApp, the jar file for MyLib is not
built as said in the documentation.
8. I created a new project called newProject. It created them a
directory called newproject, a build.xml having as project name
newProject, a build-impl.xml having as project name newProject-impl.
Then I right-click on the project, select Project Properties, and
replace the project name with a new one (anotherProject).
But the directory has not been renamed, nor the project name in the
build.xml and build-impl.xml
Finally, I am in balance.
I can only thanks people for the great job they do. You can even debug
your application via a Ant script. very impressive.
But I also have impression that NetBeans'users lost somes flexibility.
And we are less free than before. Because now, we are obliged to use
project and to use Ant scripts. I have somes regrets about the old way
of work.
Maybe I will review my opinion after 10 days of work.
But for someone who like netbeans for his facilities and his way of
mounting, it will be very very difficult to step to NB4.0. Why not do
another step to eclipse then ?
It's a risk to see many of netbeans user take the virage and go to
eclipse. But I hope that nb4.0 will have a lot of other nice features to
keep his users.