NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Gabriele Kahlout Posted via mailing list.
|
Posted: Wed Jun 01, 2011 11:12 am Post subject: JavaCC in Netbeans, automatic project and maven or ivy library management |
|
|
Jesse, this plugin is amazing, and inclusion should reduce NetBeans adoption rate (I believe).
One usability issue that comes to mind: would it not be more usable if it worked directly with open project, perhaps showing the project with the 'automatic project' icon?
On Wed, Aug 4, 2010 at 12:59 PM, Jesse Glick <address-removed ([email]address-removed[/email])> wrote:
| Quote: | On 08/04/2010 05:25 AM, MB wrote:
| Quote: | I got the automatic project plugin and everything seems to compile
without errors according to the supplied ant script and the
build.properties files of the project. I don't understand why the "from
an existing ant script" project form doesn't work equally well.
|
The latter is just a standard Ant-based project with an IDE-managed build script that known nothing of JavaCC. It may be possible to edit build.xml (not build-impl.xml) of a standard project to perform JavaCC compilation in addition to the regular build steps. But this would be more work than using an autoproject, especially on a big complex project, and might not offer any particular advantage - depends on what you need to do with the project besides edit and build.
| Quote: | Automatic Project should be a part of the netbeans distribution IMHO or
at the very least people could be more aware of its existence.
|
Noted. It's a question of priorities - whether there is time to polish it enough for inclusion in the product.
| Quote: | I have the javacc.jar in my build path and it's referenced from the ant
files. Are there alternative ways, like for instance making javacc a
netbeans library for all projects that needs javacc?
|
You could do that; useful only if you're using standard Ant-based projects.
| Quote: | For automatic
projects I seem to be unable to add existing netbeans libraries,
however, unless I modify "lib.properties", which I suppose is doable.
|
Yes, since autoprojects are normally used for projects that already have a build.xml completely set up, and referring to NB libraries requires a soft dependency on NB (loading build.properties in the NB userdir) which would usually be inappropriate.
|
--
Regards,
K. Gabriele
--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x) < Now + 48h) ⇒ ¬resend(I, this).
If an email is sent by a sender that is not a trusted contact or the email does not contain a valid code then the email is not received. A valid code starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈ L(-[a-z]+[0-9]X)). |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|