Build steps
============
#1. Unpack source and binary archives (distributions)
============
T:\>ls
jakarta-jmeter-2.4.zip  jakarta-jmeter-2.4_src.zip
T:\>unzip jakarta-jmeter-2.4_src.zip
  inflating: jakarta-
...
  inflating: jakarta-jmeter-2.4/xdocs/usermanual/junitsampler_tutorial.sxw
T:\>unzip -o jakarta-jmeter-2.4.zip
Archive:  jakarta-jmeter-2.4.zip
   creating: jakarta-jmeter-2.4/docs/
....
  inflating: jakarta-jmeter-2.4/printable_docs/usermanual/test_plan.html


============
#2. ant download_jars - needed to get a few extra jars
============
Aside note, I have got impression earlier that step1 should be
suffisient. If it is just for create dir, make sense to change package
target and in build.xml file instead.

T:\>cd jakarta-jmeter-2.4
T:\jakarta-jmeter-2.4>ant download_jars
Buildfile: T:\jakarta-jmeter-2.4\build.xml
...
      [get] Error getting http://repo2.maven.org/maven2/org/bouncycastle/bcmail-
jdk15/1.45//bcmail-jdk15-1.45.jar to T:\jakarta-jmeter-2.4\build\bcmail-jdk15-1.
45.jar

BUILD FAILED
T:\jakarta-jmeter-2.4\build.xml:2084: The following error occurred while executi
ng this line:
T:\jakarta-jmeter-2.4\build.xml:2029: The following error occurred while executi
ng this line:
T:\jakarta-jmeter-2.4\build.xml:1936: The following error occurred while executi
ng this line:
T:\jakarta-jmeter-2.4\build.xml:1964: The following error occurred while executi
ng this line:
T:\jakarta-jmeter-2.4\build.xml:1993: java.net.ConnectException: Connection time
d out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at sun.net.www.http.HttpClient.New(HttpClient.java:323)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:860)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:801)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:726)
        at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:6
62)
        at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:581)
        at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:571)

Total time: 31 seconds


Note, I checked
http://repo2.maven.org/maven2/org/bouncycastle/bcmail-
jdk15/1.45/bcmail-jdk15-1.45.jar
Is available in web browser.

============
#3. ant package
============
T:\jakarta-jmeter-2.4>ant package
Buildfile: T:\jakarta-jmeter-2.4\build.xml

_check_3rdparty:

BUILD FAILED
T:\jakarta-jmeter-2.4\build.xml:972: T:\jakarta-jmeter-2.4\lib\api does not exis
t.

Total time: 0 seconds

============
lib\api is not only an issue for clean build !
============
T:\jakarta-jmeter-2.4>mkdir lib\api
T:\jakarta-jmeter-2.4>ant package
...
    [javac] T:\jakarta-jmeter-2.4\src\components\org\apache\jmeter\assertions\SM
IMEAssertion.java:326: cannot find symbol
    [javac] symbol  : variable GeneralName
    [javac] location: class org.apache.jmeter.assertions.SMIMEAssertion
    [javac]             if (type == GeneralName.rfc822Name) {
    [javac]                         ^
    [javac] T:\jakarta-jmeter-2.4\src\components\org\apache\jmeter\assertions\SM
IMEAssertion.java:342: cannot find symbol
    [javac] symbol  : class BouncyCastleProvider
    [javac] location: class org.apache.jmeter.assertions.SMIMEAssertion
    [javac]             Security.addProvider(new BouncyCastleProvider());
    [javac]                                      ^
    [javac] Note: T:\jakarta-jmeter-2.4\src\components\org\apache\jmeter\control
\IncludeController.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 26 errors

BUILD FAILED
T:\jakarta-jmeter-2.4\build.xml:501: Compile failed; see the compiler error outp
ut for details.

Total time: 7 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to