You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "sandhu@terra-firma" <sa...@apparelxml.net> on 2002/11/06 09:52:19 UTC

Build Fail ?

Anyone experiencing same ?

Since yesterday's CVS , building as thus :

build.bat -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes webapp

I get this :

    [javac] Compiling 110 source files to
C:\xml-cocoon2\build\cocoon\scratchpad
\classes
    [javac]
C:\xml-cocoon2\build\cocoon\scratchpad\src\org\apache\cocoon\ant\Del
ayedFileOutputStream.java:105: cannot resolve symbol
    [javac] symbol  : constructor FileOutputStream  (java.io.File,boolean)
    [javac] location: class java.io.FileOutputStream
    [javac]             fos = new FileOutputStream(file, append);
    [javac]                   ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error

BUILD FAILED
file:C:/xml-cocoon2/build.xml:1009: Compile failed; see the compiler error
outpu
t for details.

Total time: 4 minutes 56 seconds




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Build Fail ?

Posted by Kjetil Kjernsmo <kj...@kjernsmo.net>.
On Wednesday 06 November 2002 09:52, sandhu@apparelxml.net wrote:
> I get this :
>
>     [javac] Compiling 110 source files to
> C:\xml-cocoon2\build\cocoon\scratchpad
> \classes
>     [javac]
> C:\xml-cocoon2\build\cocoon\scratchpad\src\org\apache\cocoon\ant\Del
> ayedFileOutputStream.java:105: cannot resolve symbol
>     [javac] symbol  : constructor FileOutputStream 
> (java.io.File,boolean) [javac] location: class
> java.io.FileOutputStream
>     [javac]             fos = new FileOutputStream(file, append);
>     [javac]                   ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>     [javac] 1 error
>
> BUILD FAILED

AOL (which mean "me too" for those who are not into the jargon).

Best,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
kjetil@kjernsmo.net  webmaster@skepsis.no  editor@learn-orienteering.org
Homepage: http://www.kjetil.kjernsmo.net/


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Build Fail ?

Posted by Marcus Crafter <cr...@fztig938.bank.dresdner.net>.
Hi There,

	This should now be fixed in the lastest CVS.
	
	If there's any other problems please let me know.
	
	Cheers,
	
	Marcus

On Wed, Nov 06, 2002 at 02:22:19PM +0530, sandhu@terra-firma wrote:
> Anyone experiencing same ?
> 
> Since yesterday's CVS , building as thus :
> 
> build.bat -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes webapp
> 
> I get this :
> 
>     [javac] Compiling 110 source files to
> C:\xml-cocoon2\build\cocoon\scratchpad
> \classes
>     [javac]
> C:\xml-cocoon2\build\cocoon\scratchpad\src\org\apache\cocoon\ant\Del
> ayedFileOutputStream.java:105: cannot resolve symbol
>     [javac] symbol  : constructor FileOutputStream  (java.io.File,boolean)
>     [javac] location: class java.io.FileOutputStream
>     [javac]             fos = new FileOutputStream(file, append);
>     [javac]                   ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>     [javac] 1 error
> 
> BUILD FAILED
> file:C:/xml-cocoon2/build.xml:1009: Compile failed; see the compiler error
> outpu
> t for details.
> 
> Total time: 4 minutes 56 seconds
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
> 

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   ManageSoft GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'
          &&&&.
    &&&&&&&:

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Build Fail ?

Posted by Mark Eggers <it...@yahoo.com>.
Yes.

This is a new constructor in j2sdk 1.4.x.  While you
can craft around it, the easiest is to upgrade to
j2sdk 1.4.x.

/mde/

just my two cents . . . .

--- "sandhu@terra-firma" <sa...@apparelxml.net>
wrote:
> Anyone experiencing same ?
> 
> Since yesterday's CVS , building as thus :
> 
> build.bat -Dinclude.webapp.libs=yes
> -Dinclude.scratchpad.libs=yes webapp
> 
> I get this :
> 
>     [javac] Compiling 110 source files to
> C:\xml-cocoon2\build\cocoon\scratchpad
> \classes
>     [javac]
>
C:\xml-cocoon2\build\cocoon\scratchpad\src\org\apache\cocoon\ant\Del
> ayedFileOutputStream.java:105: cannot resolve symbol
>     [javac] symbol  : constructor FileOutputStream 
> (java.io.File,boolean)
>     [javac] location: class java.io.FileOutputStream
>     [javac]             fos = new
> FileOutputStream(file, append);
>     [javac]                   ^
>     [javac] Note: Some input files use or override a
> deprecated API.


__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>