Menu

#372 httpunit ant default does not build JavaScriptEngineFactory

closed-out-of-date
None
5
2008-04-17
2006-10-02
No

I downloaded httpunit 1.6.2, unzipped it, and typed "ant jar"
(on Mac OSX 10.4.7)

This failed to build
com.meterware.httpunit.javascript.JavaScriptEngineFactory

Unable to find scripting engine factory class
com.meterware.httpunit.javascript.JavaScriptEngineFactory
java.lang.ClassNotFoundException:
com.meterware.httpunit.javascript.JavaScriptEngineFactory

Solution: I had to build it by hand:

straz@pbj> pwd
/Users/straz/www/thingly/lib/httpunit

straz@pbj> ls
JavaScript.java JavaScriptEngineFactory.java

straz@pbj> javac -cp 'src' src/com/meterware/httpunit/javascript/*.java
Note: src/com/meterware/httpunit/javascript/JavaScript.java uses or
overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: src/com/meterware/httpunit/javascript/JavaScript.java uses
unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Discussion

  • Wolfgang Fahl

    Wolfgang Fahl - 2008-04-02
    • assigned_to: nobody --> russgold
    • status: open --> pending-out-of-date
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-out-of-date --> closed-out-of-date
     

Log in to post a comment.

MongoDB Logo MongoDB