I found a couple of minor problems building JMeter 1.8.1 on Windows:

** The build tries to delete jorphan.jar, but this fails.
This appears to be because the file is in the classpath, and is therefore
locked by the JVM.

Since jorphan.jar is not actually needed for the build, perhaps it should be
removed from the classpath?

One solution is to update lcp.bat as follows:

if x%1 == x.\lib\jorphan.jar goto exit
set LOCALCLASSPATH=%LOCALCLASSPATH%;%1
:exit

[Or build.bat could do the exclusion before calling LCP.BAT]

As jorphan is only needed at run-time, would it not be better to store it in
the lib/ext directory, where all the other JMeter jars are stored?

As an experiment, I've just tried moving jorphan.jar to the ext directory,
and it seems to be picked up OK by JMeter startup (at least on WinNT), so
another solution is to just change build.xml to put jorphan.jar into
lib/ext.

==

** "build docs" needs the JDOM jar, which is not present in the JMeter
source jar file.
The build scripts pick it up from ..\jakarta_site2\lib\*.jar, if that is
present.
That seems to me to be overkill, as the other jars in that directory are not
needed for the build, as far as I can tell.

May I suggest that perhaps JDOM be included with the JMeter source release
in the lib directory, and the reference to jakarta_site2 removed?

[Alternatively, perhaps the build scripts could pick up jdom*.jar only ?]

Just a thought.

-- 
Sebastian Bazley <[EMAIL PROTECTED]>
The opinions expressed herein are my own, and are not necessarily endorsed
by my employer ...


_________________________________________________________
This email is confidential and intended solely for the use of the 
individual to whom it is addressed. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of 
SchlumbergerSema.
If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing, 
or copying of this email is strictly prohibited.

If you have received this email in error please notify the
SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
_________________________________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to