Re: build fop-1.0dev in java IDE
Happy to hear that. Glen Kevin wrote: >Hi Glen, >Now I'm using Eclipse, and it works well. > >- Original Message - >From: Glen Mazza [mailto:[EMAIL PROTECTED] >Sent: 2005年6月6日 22:14 >To: fop-dev@xmlgraphics.apache.org >Subject: Re: build fop-1.0dev in java IDE > >Kevin should make sure he's using the Ant build script to build FOP, and not >his IDE commands--I suspect that may be the main problem. (I would also >encourage him to consider using Eclipse as his IDE--I switched to it from >JEdit three months ago, and only regret I did not switch much earlier.) > >Glen > >- Original Message - >From: "Jeremias Maerki" <[EMAIL PROTECTED]> >To: >Sent: Monday, June 06, 2005 6:12 AM >Subject: Re: build fop-1.0dev in java IDE > > > > >>Hi Kevin >> >>You didn't say what your problem is, but I suspect you're missing the >>sources that are generated during the build. You need to run "ant >>codegen" which generates the missing sources in the directory: >> >>build/gensrc >> >>If you add this directory to the source directories you should be a lot >>closer to building FOP. If you still have problems, please let us know >>which. I can't really help with JBuilder. I've abandoned it right after >>Eclipse came out. >> >>Some additional help can be found here on the Wiki: >>http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide >> >>It would be nice of you to add the JBuilder specifics once you get it >>running. >> >>I hope that helps. >> >>On 06.06.2005 11:54:22 Kevin wrote: >> >> >>>Hi, >>> >>>I try to build fop-1.0.dev in JBuilder9, but I failed. Who can tell me >>> >>> >how > > >>>to build fop-1.0dev in such IDE? Otherwise how to trace the executing? >>> >>> >>> >> >>Jeremias Maerki >> >> >> > > > >
Re: build fop-1.0dev in java IDE
Hi Glen, Now I'm using Eclipse, and it works well. - Original Message - From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: 2005年6月6日 22:14 To: fop-dev@xmlgraphics.apache.org Subject: Re: build fop-1.0dev in java IDE Kevin should make sure he's using the Ant build script to build FOP, and not his IDE commands--I suspect that may be the main problem. (I would also encourage him to consider using Eclipse as his IDE--I switched to it from JEdit three months ago, and only regret I did not switch much earlier.) Glen - Original Message - From: "Jeremias Maerki" <[EMAIL PROTECTED]> To: Sent: Monday, June 06, 2005 6:12 AM Subject: Re: build fop-1.0dev in java IDE > Hi Kevin > > You didn't say what your problem is, but I suspect you're missing the > sources that are generated during the build. You need to run "ant > codegen" which generates the missing sources in the directory: > > build/gensrc > > If you add this directory to the source directories you should be a lot > closer to building FOP. If you still have problems, please let us know > which. I can't really help with JBuilder. I've abandoned it right after > Eclipse came out. > > Some additional help can be found here on the Wiki: > http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide > > It would be nice of you to add the JBuilder specifics once you get it > running. > > I hope that helps. > > On 06.06.2005 11:54:22 Kevin wrote: > > Hi, > > > > I try to build fop-1.0.dev in JBuilder9, but I failed. Who can tell me how > > to build fop-1.0dev in such IDE? Otherwise how to trace the executing? > > > > > > Jeremias Maerki >
Re: build fop-1.0dev in java IDE
Kevin should make sure he's using the Ant build script to build FOP, and not his IDE commands--I suspect that may be the main problem. (I would also encourage him to consider using Eclipse as his IDE--I switched to it from JEdit three months ago, and only regret I did not switch much earlier.) Glen - Original Message - From: "Jeremias Maerki" <[EMAIL PROTECTED]> To: Sent: Monday, June 06, 2005 6:12 AM Subject: Re: build fop-1.0dev in java IDE > Hi Kevin > > You didn't say what your problem is, but I suspect you're missing the > sources that are generated during the build. You need to run "ant > codegen" which generates the missing sources in the directory: > > build/gensrc > > If you add this directory to the source directories you should be a lot > closer to building FOP. If you still have problems, please let us know > which. I can't really help with JBuilder. I've abandoned it right after > Eclipse came out. > > Some additional help can be found here on the Wiki: > http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide > > It would be nice of you to add the JBuilder specifics once you get it > running. > > I hope that helps. > > On 06.06.2005 11:54:22 Kevin wrote: > > Hi, > > > > I try to build fop-1.0.dev in JBuilder9, but I failed. Who can tell me how > > to build fop-1.0dev in such IDE? Otherwise how to trace the executing? > > > > > > Jeremias Maerki >
Re: build fop-1.0dev in java IDE
On 06.06.2005 13:02:29 Kevin wrote: > Hi, > I do the code generating indeed. And all files in build/gensrc are: > |-build > |-gensrc > |-org >|-apache > |-fop >|-fonts > |-CodePointMapping.java > |-base14 >|-Courier.java >|-CourierBold.java >|-CourierBoldOblique.java >|-CourierOblique.java >|-Helvetica.java >|-HelveticaBold.java >|-HelveticaBoldOblique.java >|-HelveticaOblique.java >|-Symbol.java >|-TimesBold.java >|-TimesBoldItalic.java >|-TimesItalic.java >|-TimesRoman.java >|-ZapfDingbats.java > I add these files to the corresponding src/java/org/apache/fop/fonts, and > src/java-1.4/org/apache/fop/svg/GraphicsConfiguration.java (my jdk version > is 1.4) to the corresponding src/java/org/apache/fop/svg/. These files plus > with the original files in src/java/ form my JBuilder project source files. > And I include xercesImpl-2.2.1.jar, xalan-2.4.1.jar, xml-apis.jar, > batik.jar, avalon-framework-4.1.4.jar, commons-logging-1.0.3.jar, and > commons-io-1.0.jar in lib/ as my project lib. I wouldn't copy files around. The directory layout was set up so stuff like that shouldn't be necessary as most modern Java IDEs support multiple source directories. Simply check out the CVS HEAD sources and add the following directories as source directories: src/java src/java-1.4 build/gensrc The libraries you added are probably ok. There are a few optional libraries, however, which are needed by some classes (JIMI, JAI etc.). But you can probably work around that. > And the following is my build error with JBuilder9: > "Marker.java": cyclic inheritance involving org.apache.fop.fo.FObjMixed at > line 40, column 29 That's really strange. I can only explain it by your copying of the source files. I'd take a step back and do a clean checkout again. > "RetrieveMarker.java": cannot resolve symbol: class FObjMixed in class > org.apache.fop.fo.flow.RetrieveMarker at line 46, column 37 > BTW: the page: http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide is a > blank page, why? I've seen that, too, but on other Wiki pages. I think the infrastructure guys are experimenting with a server-side page cache which doesn't work. Try displaying the page in IE instead of Firefox, or vice-versa. That helped me. > Thank you for replying my question. Glad to help. :-) Jeremias Maerki
Re: build fop-1.0dev in java IDE
Hi, I do the code generating indeed. And all files in build/gensrc are: |-build |-gensrc |-org |-apache |-fop |-fonts |-CodePointMapping.java |-base14 |-Courier.java |-CourierBold.java |-CourierBoldOblique.java |-CourierOblique.java |-Helvetica.java |-HelveticaBold.java |-HelveticaBoldOblique.java |-HelveticaOblique.java |-Symbol.java |-TimesBold.java |-TimesBoldItalic.java |-TimesItalic.java |-TimesRoman.java |-ZapfDingbats.java I add these files to the corresponding src/java/org/apache/fop/fonts, and src/java-1.4/org/apache/fop/svg/GraphicsConfiguration.java (my jdk version is 1.4) to the corresponding src/java/org/apache/fop/svg/. These files plus with the original files in src/java/ form my JBuilder project source files. And I include xercesImpl-2.2.1.jar, xalan-2.4.1.jar, xml-apis.jar, batik.jar, avalon-framework-4.1.4.jar, commons-logging-1.0.3.jar, and commons-io-1.0.jar in lib/ as my project lib. And the following is my build error with JBuilder9: "Marker.java": cyclic inheritance involving org.apache.fop.fo.FObjMixed at line 40, column 29 "RetrieveMarker.java": cannot resolve symbol: class FObjMixed in class org.apache.fop.fo.flow.RetrieveMarker at line 46, column 37 "Block.java": cannot resolve symbol: class FObjMixed in class org.apache.fop.fo.flow.Block at line 64, column 28 "BidiOverride.java": cannot resolve symbol: class FObjMixed in class org.apache.fop.fo.flow.BidiOverride at line 45, column 35 "Wrapper.java": cannot resolve symbol: class FObjMixed in class org.apache.fop.fo.flow.Wrapper at line 34, column 30 "InlineLevel.java": cannot resolve symbol: variable PR_COLOR in class org.apache.fop.fo.flow.InlineLevel at line 67, column 27 "InlineLevel.java": cannot resolve symbol: variable PR_LINE_HEIGHT in class org.apache.fop.fo.flow.InlineLevel at line 68, column 32 "InlineLevel.java": cannot resolve symbol: variable PR_VISIBILITY in class org.apache.fop.fo.flow.InlineLevel at line 69, column 32 "Inline.java": cannot resolve symbol: variable PR_ALIGNMENT_ADJUST in class org.apache.fop.fo.flow.Inline at line 74, column 37 "Inline.java": cannot resolve symbol: variable PR_ALIGNMENT_BASELINE in class org.apache.fop.fo.flow.Inline at line 75, column 39 "Inline.java": cannot resolve symbol: variable PR_BASELINE_SHIFT in class org.apache.fop.fo.flow.Inline at line 76, column 35 "Inline.java": cannot resolve symbol: variable PR_BLOCK_PROGRESSION_DIMENSION in class org.apache.fop.fo.flow.Inline at line 77, column 47 "Inline.java": cannot resolve symbol: variable PR_DOMINANT_BASELINE in class org.apache.fop.fo.flow.Inline at line 78, column 38 "Inline.java": cannot resolve symbol: variable PR_HEIGHT in class org.apache.fop.fo.flow.Inline at line 79, column 28 "Inline.java": cannot resolve symbol: variable PR_ID in class org.apache.fop.fo.flow.Inline at line 80, column 24 "Inline.java": cannot resolve symbol: variable PR_INLINE_PROGRESSION_DIMENSION in class org.apache.fop.fo.flow.Inline at line 81, column 48 "Inline.java": cannot resolve symbol: variable PR_KEEP_TOGETHER in class org.apache.fop.fo.flow.Inline at line 82, column 34 "Inline.java": cannot resolve symbol: variable PR_KEEP_WITH_NEXT in class org.apache.fop.fo.flow.Inline at line 83, column 34 "Inline.java": cannot resolve symbol: variable PR_KEEP_WITH_PREVIOUS in class org.apache.fop.fo.flow.Inline at line 84, column 38 "Inline.java": cannot resolve symbol: variable PR_VERTICAL_ALIGN in class org.apache.fop.fo.flow.Inline at line 85, column 35 "Inline.java": cannot resolve symbol: variable PR_WIDTH in class org.apache.fop.fo.flow.Inline at line 86, column 27 "Inline.java": cannot resolve symbol: variable PR_WRAP_OPTION in class org.apache.fop.fo.flow.Inline at line 87, column 32 "Inline.java": cannot resolve symbol: variable FO_LEADER in class org.apache.fop.fo.flow.Inline at line 97, column 37 "Inline.java": cannot resolve symbol: variable FO_FOOTNOTE in class org.apache.fop.fo.flow.Inline at line 98, column 39 "Inline.java": cannot resolve symbol: variable FO_INLINE_CONTAINER in class org.apache.fop.fo.flow.Inline at line 99, column 37 "Inline.java": cannot resolve symbol: method checkId (java.lang.String)in class org.apache.fop.fo.flow.Inline at line 112, column 9 "Inline.java": cannot resolve symbol: method getFOEventHandler ()in class org.apache.fop.fo.flow.Inline at line 113, column 9 "Inline.java": cannot resolve symbol: method getFOEventHandler ()in class org.apache.fop.fo.flow.Inline at line 120, column 9 "Inline.java": cannot resolve symbol: variable FO_URI in class org.apache.fop.fo.flow.Inline at line 132, column 22 "Inline.java": cannot resolve symbol: method nodesOutOfOrderError (org.xml.sax.Locator,java.lang.String,java.lang.String)in class org.apache.fop.fo.flow.Inline at line 134, column 16 "Inline.java": cannot resolve symbol: method
Re: build fop-1.0dev in java IDE
Hi Kevin You didn't say what your problem is, but I suspect you're missing the sources that are generated during the build. You need to run "ant codegen" which generates the missing sources in the directory: build/gensrc If you add this directory to the source directories you should be a lot closer to building FOP. If you still have problems, please let us know which. I can't really help with JBuilder. I've abandoned it right after Eclipse came out. Some additional help can be found here on the Wiki: http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide It would be nice of you to add the JBuilder specifics once you get it running. I hope that helps. On 06.06.2005 11:54:22 Kevin wrote: > Hi, > > I try to build fop-1.0.dev in JBuilder9, but I failed. Who can tell me how > to build fop-1.0dev in such IDE? Otherwise how to trace the executing? > Jeremias Maerki