You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Brian Ewins <Br...@i-documentsystems.com> on 2002/11/25 20:10:48 UTC

[PATCH] Re: IDE Developers' guide

Small changes to the 'getinvolved' and 'source' pages to make it easier 
to find info on contributing patches. Out of curiosity I did this 
completely within netbeans - it was a surprisingly simple and pleasant 
point-and-click experience.

As for the Ant/Maven stuff, You might want to link to 
http://jakarta.apache.org/ant/manual/ide.html, I'll write up 'How to use 
Maven in Netbeans' as a patch to the Maven docs and let you know if/when 
it appears[1]. Using Maven with Eclipse is easier, Maven has an Eclipse 
plugin.

Since someone asked, the link above links to a page describing using Ant 
with JDE+XEmacs (I know because thats what I use!). You need to 
customize jde-build-function and set it to jde-ant-build, also setting 
'JDE Ant Enable Find' is useful - it lets ant use '-f build.xml' so you 
won't get asked where the build file is. M-x customize-apropos jde gives 
you all the options. For using Maven under XEmacs, I just do M-x 
compile, with command maven -Ebf project.xml. I also have this in my 
init.el:
(setq compilation-error-regexp-alist
  '("^\\(.+\\.java\\):\\([0-9]+\\):" 1 2))

(this lets XEmacs/Win32 parse sun javac error messages as produced from 
Maven, and opens the files referenced correctly)

-Baz

[1] For the intrigued/impatient, the skinny with no flowery words: 
create a 'Maven Compiler' in Compiler types based on External Javac 
compilation, the command it runs is C:\Program Files\maven\bin\maven.bat 
{debuginfo} {deprecation} {optimize} -Ed "C:\projects\portalizer"  
java:jar  (yes, unfortunately you need to put in the project dir at the 
mo), and in the Expert tab set the environment variables 
JAVA_HOME={jdk.home}, MAVEN_HOME= C:\Program Files\maven, also the 
debug/deprecation/optimize tag replacements are -Dmaven.compile.debug, 
-D maven.compile.deprecation, -D maven.compile.optimize. You can now hit 
F9 to compile with Maven, and netbeans correctly recognizes the error 
messages - pretty basic but it will let you build eg Turbine. I know 
dion, one of the Maven authors, uses NB so maybe he has better integration.


Privacy and Confidentiality Notice

------------------------------------------------

The information contained in this E-Mail message is intended only for the person or persons to whom it is addressed.  Such information is confidential and privileged and no mistake in transmission is intended to waive or compromise such privilege.  If you have received it in error, please destroy it and notify us on the telephone number printed above.  If you do not receive complete and legible copies, please telephone us immediately. Any opinions expressed herein including attachments are those of the author only. i-documentsystems Ltd. does not accept responsibility for the accuracy or completeness of the information provided or for any changes to this Email, however made, after it was sent. (Please note that it is your responsibility to scan this message for viruses).