Latest Cocoon 2.1-dev scratchpad appears to depend on j2sdk 1.4.x
While trying to compile the lastest CVS version of cocoon, I ran into an issue with the scratchpad libraries: In part, from the file DelayedFileOutputStream.java: public void setFileOutputStream(File file, boolean append) throws FileNotFoundException { if (fos == null) { fos = new FileOutputStream(file, append); The form of FileOutputStream constructor used is new in 1.4. This will no longer compile in 1.3.x. /mde/ just my two cents . . . . __ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Latest Cocoon 2.1-dev scratchpad appears to depend on j2sdk 1.4.x
I just changed the relevant line to: fos = new FileOutputStream(file.getCanonicalPath(), append); Regards, Lajos Mark Eggers wrote: While trying to compile the lastest CVS version of cocoon, I ran into an issue with the scratchpad libraries: In part, from the file DelayedFileOutputStream.java: public void setFileOutputStream(File file, boolean append) throws FileNotFoundException { if (fos == null) { fos = new FileOutputStream(file, append); The form of FileOutputStream constructor used is new in 1.4. This will no longer compile in 1.3.x. /mde/ just my two cents . . . . __ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- galatea.com Cocoon training, consulting support - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Latest Cocoon 2.1-dev scratchpad appears to depend on j2sdk 1.4.x
Thanks, I need to sit down and read the Java API (again). --- Lajos Moczar [EMAIL PROTECTED] wrote: I just changed the relevant line to: fos = new FileOutputStream(file.getCanonicalPath(), append); Regards, /mde/ just my two cents . . . . __ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]