|
Javier,
Regarding flagging the build as
successful or not, there may be situations when people don't want the
customization to disappear? Maybe a customizable list of regular
expressions or strings to pass to the jde-ant-set-build-status() function?
Also, maybe a customizable duration for the compilation buffer to
show?
Jeff
----- Original Message -----
Sent: Monday, September 23, 2002 10:23
AM
Subject: Re: ANT compile don't parse
errors
"Gross Trebut, Rainer" <[EMAIL PROTECTED]>
writes:
Grab jde-compile.el and jde-ant.el from the repository. http://cvs.sunsite.dk/viewcvs.cgi/jde/lisp/
I
have fixed both of the problems.
Javier
> Hi all: >
> I am using ant to compile proyects which are based on the
Jakarta/Turbine > environment. > If I compile using the JDE my
*compilation* Buffer fills up with the ant > output and
disapears > when finished. (I allready read that I am not the only one
with this problem > and I am considering > changing the mentioned
Hook) > > But I do have another problem and this is that the only
error recoginzed by > the *compilation* Buffer > is the last one
wich indicates a non existing problem in the build.xml line >
144. > > All the other errors generated by the javac compiler are
ignored and I am not > able to jump to these > errors to correct
the problem. > > I added my *compilation* buffer output (I
reduced it a bit by adding '...' at > some places). I also tried
to > change the regular expresion used to parse the errors and ended up
with this > simples version which surely > maches the given error
mesages but even with this regexp they are not > recongized in the
*compilation* buffer. > > ("\([^[]+\[javac\]\) \([a-zA-Z]:[^:(
]*\):\([0-9]+\):" 2 3) > > Any help would be apreciated. >
> Thanks > > Rainer Gross > > >
*compilation* Buffer follows: > > cd
c:/user/Rainer_Gross/Proyectos/.../datatypes/ >
C:\user\Rainer_Gross\bin\Ant\bin\ant.bat >
-Dant.home=c:/user/Rainer_Gross/bin/Ant -buildfile >
"c:/user/Rainer_Gross/.../Dev/build/build.xml" > > Buildfile:
c:\user\Rainer_Gross\...\Dev\build\build.xml > >
check_for_optional_packages: > > env: > [echo]
build.compiler = classic > ... > [echo] > >
prepare: > > compile: > [javac] Compiling 4 source files
to >
C:\user\Rainer_Gross\Proyectos\SONDAframe\Productos\Plataforma\PrototipoTxManager\Dev\bin\classes >
> [javac] >
C:\user\Rainer_Gross\....\actions\BTUIngresarDireccionParticular.java:44: >
Return required at end of >
com.sonda.bancos.SONDAframe.datatypes.SFDataStructure >
preloadForm(org.apache.turbine.util.RunData, >
com.sonda.bancos.SONDAframe.datatypes.SFDataStructure). > >
[javac] public SFDataStructure preloadForm(RunData data, >
SFDataStructure out) > [javac] ^ > [javac] >
C:\user\Rainer_Gross\...\actions\BTUIngresarDireccionParticular.java:55:
Class > com.bambutut.modules.actions.retn not found. > >
... > [javac] 3 errors > > BUILD FAILED > >
c:\user\Rainer_Gross\....\Dev\build\build.xml:144: Compile failed,
messages > should have been provided. > > Total time: 2
seconds > > Compilation finished at Mon Sep 23 09:00:41
--
Javier S.
Lopez
[EMAIL PROTECTED]
Forum Systems, Inc. (781)
788-4206
95 Sawyer St., Suite 110, http://www.forumsys.com
Waltham, MA 02453
|