DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44100>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44100

           Summary: [PATCH] ant task compile-scratchpad fails unless
                    compile-main already run
           Product: POI
           Version: 3.0-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: POI Overall
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The ant task compile-scratchpad fails (to compile) if the ant task compile-main
hasn't already been run.

This is what I ran:

$ ant clean
Buildfile: build.xml

clean:
   [delete] Deleting directory XXX/build

BUILD SUCCESSFUL
Total time: 0 seconds

$ ant compile-scratchpad

...a bunch of errors...
BUILD FAILED
XXX/build.xml:311: Compile failed; see the compiler error output for details.

This problem propagates to other tasks that depend on compile-scratchpad.  I
discovered the problem when I tried to run "ant clean" followed by:

ant -Dtestcase=org.apache.poi.hssf.record.formula.functions.TestEverything
single-scratchpad-test

There is no harm in adding a dependency on compile-main to compile-scratchpad
since compile-main will only be run if it needs to be.  Each ant task should be
able to run successfully without the user having to run other tasks previously.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to