Re: Error while building FOP dev1

2004-09-07 Thread Chris Bowditch
Pascal Sancho wrote:
snip/
codegen:
 [echo] Resetting codegen directory
 [echo] Generating the java files from xml resources
[style] Processing D:\cvs\xml-fop\src\codegen\encodings.xml to
D:\cvs\xml-fop\build\gensrc\o
rg\apache\fop\fonts\CodePointMapping.java
[style] Loading stylesheet
D:\cvs\xml-fop\src\codegen\code-point-mapping.xsl
BUILD FAILED
I have just run the build now and it was successful.
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.Tr
ansformerFactoryImpl not found
Looks like a classpath problem: the build cannot find Xalan. Check your 
classpath.
Chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Error while building FOP dev1

2004-09-07 Thread Jeremias Maerki
Chris, have you tried under JDK 1.3? Because Pascal tries to compile
under 1.3. Unfortunately, I'm at work on my notebook where I don't have
a current FOP HEAD to try. I can check this out this evening.

On 07.09.2004 11:26:08 Chris Bowditch wrote:
 Pascal Sancho wrote:
 
 snip/
 
  
  codegen:
   [echo] Resetting codegen directory
   [echo] Generating the java files from xml resources
  [style] Processing D:\cvs\xml-fop\src\codegen\encodings.xml to
  D:\cvs\xml-fop\build\gensrc\o
  rg\apache\fop\fonts\CodePointMapping.java
  [style] Loading stylesheet
  D:\cvs\xml-fop\src\codegen\code-point-mapping.xsl
  
  BUILD FAILED
 
 I have just run the build now and it was successful.
 
  javax.xml.transform.TransformerFactoryConfigurationError: Provider
  org.apache.xalan.processor.Tr
  ansformerFactoryImpl not found
 
 Looks like a classpath problem: the build cannot find Xalan. Check your 
 classpath.


 
Jeremias Maerki


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



RE: Error while building FOP dev1

2004-09-07 Thread Pascal Sancho
I've copied Xalan from my fop dir to my ant dir, and I get now up to 100 errors 
(the build limit).
Here follows pieces of return.
Pascal

compile-src:
 [echo] Compiling the sources
[javac] Compiling 293 source files to D:\cvs\xml-fop\build\classes
[javac] D:\cvs\xml-fop\src\java\org\apache\fop\fo\FOText.java:134: 
Undefined variable or class name: WhiteSpaceCollapse
[javac] if (textInfo.whiteSpaceCollapse == WhiteSpaceCollapse.FALSE
[javac]^
[javac] D:\cvs\xml-fop\src\java\org\apache\fop\fo\FOText.java:197: 
Undefined variable or class name: TextTransform
[javac] if (textInfo.textTransform == TextTransform.NONE) {
[javac]   ^
[javac] D:\cvs\xml-fop\src\java\org\apache\fop\fo\FOText.java:326: Constant 
expression required.
[javac] case TextTransform.NONE:
[javac] ^
[...]
[javac] 
D:\cvs\xml-fop\src\java\org\apache\fop\fo\flow\InstreamForeignObject.java:82: 
Constant expression required.
[javac] case TextAlign.CENTER:
[javac] ^
[javac] 
D:\cvs\xml-fop\src\java\org\apache\fop\fo\flow\InstreamForeignObject.java:82: 
Undefined variable or class name: TextAlign
[javac] case TextAlign.CENTER:
[javac]  ^
[javac] D:\cvs\xml-fop\src\java\org\apache\fop\fo\flow\Leader.java:72: 
Constant expression required.
[javac] case LeaderPattern.SPACE:
[javac] ^
[javac] D:\cvs\xml-fop\src\java\org\apache\fop\fo\flow\Leader.java:72: 
Undefined variable or class name: LeaderPattern
[javac] case LeaderPattern.SPACE:
[javac]  ^
[...]
[javac] D:\cvs\xml-fop\src\java\org\apache\fop\fo\flow\Table.java:96: 
Undefined variable orclass name: TableLayout
[javac] this.bAutoLayout = (getPropEnum(PR_TABLE_LAYOUT) == 
TableLayout.AUTO);
[javac] ^
[javac] D:\cvs\xml-fop\src\java\org\apache\fop\fo\flow\Table.java:99: 
Undefined variable orclass name: TableOmitHeaderAtBreak
[javac] == TableOmitHeaderAtBreak.TRUE;
[javac]^
[...]
[javac] D:\cvs\xml-fop\src\java\org\apache\fop\fo\flow\TableCell.java:146: 
Undefined variable or class name: BorderCollapse
[javac] bSepBorders = (getPropEnum(PR_BORDER_COLLAPSE) == 
BorderCollapse.SEPARATE);
[javac]   ^
[...]
[javac] 
D:\cvs\xml-fop\src\java\org\apache\fop\fo\pagination\ConditionalPageMasterReference.java:110:
 Undefined variable or class name: PagePosition
[javac] if (pagePosition == PagePosition.REST) {
[javac] ^
[...]
[javac] 
D:\cvs\xml-fop\src\java\org\apache\fop\fo\pagination\RegionAfter.java:53: 
Undefined variable or class name: Precedence
[javac] precedence = (getPropEnum(PR_PRECEDENCE) == 
Precedence.TRUE);
[javac] ^
[...]
[javac] 
D:\cvs\xml-fop\src\java\org\apache\fop\layoutmgr\BlockContainerLayoutManager.java:77:
 Undefined variable or class name: AbsolutePosition
[javac] if (abProps.absolutePosition == AbsolutePosition.ABSOLUTE) {
[javac] ^
[...]
[javac] 
D:\cvs\xml-fop\src\java\org\apache\fop\layoutmgr\CharacterLayoutManager.java:78:
 Constant expression required.
[javac] case VerticalAlign.MIDDLE:
[javac] ^
[javac] 
D:\cvs\xml-fop\src\java\org\apache\fop\layoutmgr\CharacterLayoutManager.java:78:
 Undefined variable or class name: VerticalAlign
[javac] case VerticalAlign.MIDDLE:
[javac]  ^
[...]
[javac] Too many errors.  (The limit on reported errors is 100.)
[javac] 105 errors

BUILD FAILED
D:\cvs\xml-fop\build.xml:447: Compile failed; see the compiler error output for 
details. 

 -Message d'origine-
 De : Jeremias Maerki [mailto:[EMAIL PROTECTED] 
 Envoyé : mardi 7 septembre 2004 11:39
 À : [EMAIL PROTECTED]
 Objet : Re: Error while building FOP dev1
 
 Chris, have you tried under JDK 1.3? Because Pascal tries to 
 compile under 1.3. Unfortunately, I'm at work on my notebook 
 where I don't have a current FOP HEAD to try. I can check 
 this out this evening.
 
 On 07.09.2004 11:26:08 Chris Bowditch wrote:
  Pascal Sancho wrote:
  
  snip/
  
   
   codegen:
[echo] Resetting codegen directory
[echo] Generating the java files from xml resources
   [style] Processing 
 D:\cvs\xml-fop\src\codegen\encodings.xml to 
   D:\cvs\xml-fop\build\gensrc\o 
   rg\apache\fop\fonts\CodePointMapping.java
   [style] Loading stylesheet
   D:\cvs\xml-fop\src\codegen\code-point-mapping.xsl
   
   BUILD FAILED
  
  I have just run the build now and it was successful

Re: Error while building FOP dev1

2004-09-07 Thread Jeremias Maerki
Looks like we don't have JDK 1.3 compatibility at the moment. I think I
have seen this myself under JDk 1.3 lately.

Pascal, please use JDK 1.4 to compile if you really want to take a look
at the latest development code. Be aware that the CVS HEAD code is not
ready for production. It's only interesting for people who want to
follow our developments and/or want to help us improve FOP. The only
exception is the SVG transcoder part which is beta-quality.

Note to Devs: We should see to it that at least the Transcoders compile
again under JDK 1.3 as Batik still depends on it. Unless there is a vote
on dropping JDK 1.3 support for the rest I regard the current state as a
bug. I may have time this week to have a look at it.

On 07.09.2004 13:31:48 Pascal Sancho wrote:
 I've copied Xalan from my fop dir to my ant dir, and I get now up to 100 
 errors (the build limit).
 Here follows pieces of return.
 Pascal
 
 compile-src:
  [echo] Compiling the sources
 [javac] Compiling 293 source files to D:\cvs\xml-fop\build\classes
 [javac] D:\cvs\xml-fop\src\java\org\apache\fop\fo\FOText.java:134: 
 Undefined variable or class name: WhiteSpaceCollapse
 [javac] if (textInfo.whiteSpaceCollapse == 
 WhiteSpaceCollapse.FALSE
 [javac]^
snip/


Jeremias Maerki


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



Re: Error while building FOP dev1

2004-09-07 Thread Chris Bowditch
Jeremias Maerki wrote:
Chris, have you tried under JDK 1.3? Because Pascal tries to compile
under 1.3. Unfortunately, I'm at work on my notebook where I don't have
a current FOP HEAD to try. I can check this out this evening.
I'm running 1.4 at the moment. Ive just tried 1.3 and it fails! Not with a 
TransformerFactoryImpl class not found exception, but with the later errors 
that pascal reported.

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


Re: Error while building FOP dev1

2004-09-07 Thread Chris Bowditch
Jeremias Maerki wrote:
Looks like we don't have JDK 1.3 compatibility at the moment. I think I
have seen this myself under JDk 1.3 lately.
Yes, I agree.
snip/
Note to Devs: We should see to it that at least the Transcoders compile
again under JDK 1.3 as Batik still depends on it. Unless there is a vote
on dropping JDK 1.3 support for the rest I regard the current state as a
bug. I may have time this week to have a look at it.
We should be supporting 1.3, and I agree that it is a bug if FOP no longer 
compiles on 1.3.

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


RE: Error while building FOP dev1

2004-09-07 Thread Pascal Sancho
I've just tried the latest SDK
That works fine with J2 SDK 1.4.2_05
Thx to Jeremias  Chris
Pascal 

 -Message d'origine-
 De : Chris Bowditch [mailto:[EMAIL PROTECTED] 
 Envoyé : mardi 7 septembre 2004 15:25
 À : [EMAIL PROTECTED]
 Objet : Re: Error while building FOP dev1
 
 Jeremias Maerki wrote:
 
  Looks like we don't have JDK 1.3 compatibility at the 
 moment. I think 
  I have seen this myself under JDk 1.3 lately.
 
 Yes, I agree.
 
 snip/
 
  Note to Devs: We should see to it that at least the Transcoders 
  compile again under JDK 1.3 as Batik still depends on it. 
 Unless there 
  is a vote on dropping JDK 1.3 support for the rest I regard the 
  current state as a bug. I may have time this week to have a 
 look at it.
 
 We should be supporting 1.3, and I agree that it is a bug if 
 FOP no longer compiles on 1.3.
 
 snip/
 
 Chris
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

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