You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2007/12/19 04:16:05 UTC

DO NOT REPLY [Bug 44100] New: - [PATCH] ant task compile-scratchpad fails unless compile-main already run

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: dev@poi.apache.org
        ReportedBy: wilson@cbio.mskcc.org


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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44100] - [PATCH] ant task compile-scratchpad fails unless compile-main already run

Posted by bu...@apache.org.
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





------- Additional Comments From wilson@cbio.mskcc.org  2007-12-18 19:22 -------
Created an attachment (id=21287)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21287&action=view)
Generated using svn diff > AntCompileScratchpadTask.patch

I modified the ant task compile-scratchpad in build.xml to depend on
compile-main.  That way all of the following will run without errors:

ant clean
ant compile-scratchpad

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

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44100] - [PATCH] ant task compile-scratchpad fails unless compile-main already run

Posted by bu...@apache.org.
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


nick@torchbox.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From nick@torchbox.com  2007-12-21 04:13 -------
Fixed in svn, thanks

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org