build fop-1.0dev in java IDE

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

build fop-1.0dev in java IDE

Kevin-6

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?

Reply | Threaded
Open this post in threaded view
|

Re: build fop-1.0dev in java IDE

Jeremias Maerki
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

Reply | Threaded
Open this post in threaded view
|

Re: build fop-1.0dev in java IDE

Kevin-6
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 isBlockOrInlineItem
(java.lang.String,java.lang.String)in class org.apache.fop.fo.flow.Inline at
line 137, column 21
"Inline.java": cannot resolve symbol: method invalidChildError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.Inline at line 138, column 13
"Inline.java": cannot resolve symbol: method isBlockItem
(java.lang.String,java.lang.String)in class org.apache.fop.fo.flow.Inline at
line 139, column 50
"Inline.java": cannot resolve symbol: method invalidChildError
(org.xml.sax.Locator,java.lang.String,java.lang.String,java.lang.String)in
class org.apache.fop.fo.flow.Inline at line 145, column 13
"Inline.java": cannot resolve symbol: variable FO_INLINE in class
org.apache.fop.fo.flow.Inline at line 183, column 16
"BasicLink.java": cannot resolve symbol: variable PR_DOMINANT_BASELINE in
class org.apache.fop.fo.flow.BasicLink at line 68, column 38
"BasicLink.java": cannot resolve symbol: variable PR_EXTERNAL_DESTINATION in
class org.apache.fop.fo.flow.BasicLink at line 69, column 41
"BasicLink.java": cannot resolve symbol: variable PR_INTERNAL_DESTINATION in
class org.apache.fop.fo.flow.BasicLink at line 71, column 41
"BasicLink.java": cannot resolve symbol: method attributeError
(java.lang.String)in class org.apache.fop.fo.flow.BasicLink at line 82,
column 13
"BasicLink.java": cannot resolve symbol: method getFOEventHandler ()in class
org.apache.fop.fo.flow.BasicLink at line 92, column 9
"BasicLink.java": cannot resolve symbol: method getFOEventHandler ()in class
org.apache.fop.fo.flow.BasicLink at line 100, column 9
"BasicLink.java": cannot resolve symbol: variable FO_URI in class
org.apache.fop.fo.flow.BasicLink at line 109, column 22
"BasicLink.java": cannot resolve symbol: method nodesOutOfOrderError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.BasicLink at line 111, column 16
"BasicLink.java": cannot resolve symbol: method isBlockOrInlineItem
(java.lang.String,java.lang.String)in class org.apache.fop.fo.flow.BasicLink
at line 113, column 21
"BasicLink.java": cannot resolve symbol: method invalidChildError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.BasicLink at line 114, column 13
"BasicLink.java": cannot resolve symbol: variable FO_BASIC_LINK in class
org.apache.fop.fo.flow.BasicLink at line 145, column 16
"Marker.java": cannot resolve symbol: variable FO_FLOW in class
org.apache.fop.fo.flow.Marker at line 60, column 26
"Marker.java": cannot resolve symbol: variable locator in class
org.apache.fop.fo.flow.Marker at line 61, column 31
"Marker.java": cannot resolve symbol: variable FO_URI in class
org.apache.fop.fo.flow.Marker at line 61, column 40
"Marker.java": cannot resolve symbol: variable PR_MARKER_CLASS_NAME in class
org.apache.fop.fo.flow.Marker at line 66, column 37
"Marker.java": cannot resolve symbol: method missingPropertyError
(java.lang.String)in class org.apache.fop.fo.flow.Marker at line 69, column
13
"Marker.java": cannot resolve symbol: method getFOEventHandler ()in class
org.apache.fop.fo.flow.Marker at line 87, column 41
"Marker.java": cannot resolve symbol: method getFOEventHandler ()in class
org.apache.fop.fo.flow.Marker at line 101, column 9
"Marker.java": cannot resolve symbol: method getChildNodes ()in class
org.apache.fop.fo.flow.Marker at line 104, column 25
"Marker.java": cannot resolve symbol: method isBlockOrInlineItem
(java.lang.String,java.lang.String)in class org.apache.fop.fo.flow.Marker at
line 127, column 14
"Marker.java": cannot resolve symbol: method invalidChildError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.Marker at line 128, column 13
"Marker.java": cannot resolve symbol: variable FO_MARKER in class
org.apache.fop.fo.flow.Marker at line 150, column 16
"Marker.java": cannot resolve symbol: variable super in class
org.apache.fop.fo.flow.Marker at line 155, column 44
"RetrieveMarker.java": cannot resolve symbol: variable FO_STATIC_CONTENT in
class org.apache.fop.fo.flow.RetrieveMarker at line 68, column 26
"RetrieveMarker.java": cannot resolve symbol: variable locator in class
org.apache.fop.fo.flow.RetrieveMarker at line 69, column 31
"RetrieveMarker.java": cannot resolve symbol: variable FO_URI in class
org.apache.fop.fo.flow.RetrieveMarker at line 69, column 40
"RetrieveMarker.java": cannot resolve symbol: variable
PR_RETRIEVE_CLASS_NAME in class org.apache.fop.fo.flow.RetrieveMarker at
line 74, column 39
"RetrieveMarker.java": cannot resolve symbol: variable PR_RETRIEVE_POSITION
in class org.apache.fop.fo.flow.RetrieveMarker at line 75, column 38
"RetrieveMarker.java": cannot resolve symbol: variable PR_RETRIEVE_BOUNDARY
in class org.apache.fop.fo.flow.RetrieveMarker at line 76, column 38
"RetrieveMarker.java": cannot resolve symbol: method missingPropertyError
(java.lang.String)in class org.apache.fop.fo.flow.RetrieveMarker at line 79,
column 13
"RetrieveMarker.java": cannot resolve symbol: method invalidChildError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.RetrieveMarker at line 89, column 13
"RetrieveMarker.java": cannot resolve symbol: variable childNodes in class
org.apache.fop.fo.flow.RetrieveMarker at line 161, column 9
"RetrieveMarker.java": cannot resolve symbol: method getChildNodes ()in
class org.apache.fop.fo.flow.Marker at line 162, column 38
"RetrieveMarker.java": cannot resolve symbol: method getChildNodes ()in
class org.apache.fop.fo.flow.RetrieveMarker at line 165, column 30
"RetrieveMarker.java": cannot resolve symbol: method getChildNodes ()in
class org.apache.fop.fo.flow.Marker at line 209, column 20
"RetrieveMarker.java": cannot resolve symbol: method getLogger ()in class
org.apache.fop.fo.flow.RetrieveMarker at line 216, column 23
"RetrieveMarker.java": cannot resolve symbol: method getLogger ()in class
org.apache.fop.fo.flow.RetrieveMarker at line 223, column 23
"RetrieveMarker.java": cannot resolve symbol: variable FO_RETRIEVE_MARKER in
class org.apache.fop.fo.flow.RetrieveMarker at line 239, column 16
"Block.java": cannot resolve symbol: variable PR_BREAK_AFTER in class
org.apache.fop.fo.flow.Block at line 136, column 32
"Block.java": cannot resolve symbol: variable PR_BREAK_BEFORE in class
org.apache.fop.fo.flow.Block at line 137, column 33
"Block.java": cannot resolve symbol: variable PR_COLOR in class
org.apache.fop.fo.flow.Block at line 138, column 27
"Block.java": cannot resolve symbol: variable PR_TEXT_DEPTH in class
org.apache.fop.fo.flow.Block at line 139, column 31
"Block.java": cannot resolve symbol: variable PR_TEXT_ALTITUDE in class
org.apache.fop.fo.flow.Block at line 140, column 34
"Block.java": cannot resolve symbol: variable PR_HYPHENATION_KEEP in class
org.apache.fop.fo.flow.Block at line 141, column 37
"Block.java": cannot resolve symbol: variable PR_HYPHENATION_LADDER_COUNT in
class org.apache.fop.fo.flow.Block at line 142, column 44
"Block.java": cannot resolve symbol: variable PR_ID in class
org.apache.fop.fo.flow.Block at line 143, column 24
"Block.java": cannot resolve symbol: variable PR_INTRUSION_DISPLACE in class
org.apache.fop.fo.flow.Block at line 144, column 39
"Block.java": cannot resolve symbol: variable PR_KEEP_TOGETHER in class
org.apache.fop.fo.flow.Block at line 145, column 34
"Block.java": cannot resolve symbol: variable PR_KEEP_WITH_NEXT in class
org.apache.fop.fo.flow.Block at line 146, column 34
"Block.java": cannot resolve symbol: variable PR_KEEP_WITH_PREVIOUS in class
org.apache.fop.fo.flow.Block at line 147, column 38
"Block.java": cannot resolve symbol: variable PR_LAST_LINE_END_INDENT in
class org.apache.fop.fo.flow.Block at line 148, column 39
"Block.java": cannot resolve symbol: variable PR_LINEFEED_TREATMENT in class
org.apache.fop.fo.flow.Block at line 149, column 39
"Block.java": cannot resolve symbol: variable PR_LINE_HEIGHT in class
org.apache.fop.fo.flow.Block at line 150, column 32
"Block.java": cannot resolve symbol: variable
PR_LINE_HEIGHT_SHIFT_ADJUSTMENT in class org.apache.fop.fo.flow.Block at
line 151, column 47
"Block.java": cannot resolve symbol: variable PR_LINE_STACKING_STRATEGY in
class org.apache.fop.fo.flow.Block at line 152, column 42
"Block.java": cannot resolve symbol: variable PR_ORPHANS in class
org.apache.fop.fo.flow.Block at line 153, column 29
"Block.java": cannot resolve symbol: variable PR_WHITE_SPACE_TREATMENT in
class org.apache.fop.fo.flow.Block at line 154, column 41
"Block.java": cannot resolve symbol: variable PR_SPAN in class
org.apache.fop.fo.flow.Block at line 155, column 26
"Block.java": cannot resolve symbol: variable PR_TEXT_ALIGN in class
org.apache.fop.fo.flow.Block at line 156, column 31
"Block.java": cannot resolve symbol: variable PR_TEXT_ALIGN_LAST in class
org.apache.fop.fo.flow.Block at line 157, column 35
"Block.java": cannot resolve symbol: variable PR_TEXT_INDENT in class
org.apache.fop.fo.flow.Block at line 158, column 32
"Block.java": cannot resolve symbol: variable PR_VISIBILITY in class
org.apache.fop.fo.flow.Block at line 159, column 32
"Block.java": cannot resolve symbol: variable PR_WHITE_SPACE_COLLAPSE in
class org.apache.fop.fo.flow.Block at line 160, column 40
"Block.java": cannot resolve symbol: variable PR_WIDOWS in class
org.apache.fop.fo.flow.Block at line 161, column 28
"Block.java": cannot resolve symbol: variable PR_WRAP_OPTION in class
org.apache.fop.fo.flow.Block at line 162, column 32
"Block.java": cannot resolve symbol: method checkId (java.lang.String)in
class org.apache.fop.fo.flow.Block at line 169, column 9
"Block.java": cannot resolve symbol: method getFOEventHandler ()in class
org.apache.fop.fo.flow.Block at line 170, column 9
"Block.java": cannot resolve symbol: method getFOEventHandler ()in class
org.apache.fop.fo.flow.Block at line 178, column 9
"Block.java": cannot resolve symbol: variable FO_URI in class
org.apache.fop.fo.flow.Block at line 308, column 22
"Block.java": cannot resolve symbol: method nodesOutOfOrderError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.Block at line 310, column 16
"Block.java": cannot resolve symbol: variable FO_URI in class
org.apache.fop.fo.flow.Block at line 313, column 29
"Block.java": cannot resolve symbol: method tooManyNodesError
(org.xml.sax.Locator,java.lang.String)in class org.apache.fop.fo.flow.Block
at line 315, column 17
"Block.java": cannot resolve symbol: method nodesOutOfOrderError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.Block at line 317, column 17
"Block.java": cannot resolve symbol: method isBlockOrInlineItem
(java.lang.String,java.lang.String)in class org.apache.fop.fo.flow.Block at
line 322, column 20
"Block.java": cannot resolve symbol: method invalidChildError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.Block at line 325, column 13
"Block.java": cannot resolve symbol: variable super in class
org.apache.fop.fo.flow.Block at line 346, column 9
"Block.java": cannot resolve symbol: variable EN_TRUE in class
org.apache.fop.fo.flow.Block at line 400, column 58
"Block.java": cannot resolve symbol: variable EN_TRUE in class
org.apache.fop.fo.flow.Block at line 439, column 63
"Block.java": cannot resolve symbol: variable FO_BLOCK in class
org.apache.fop.fo.flow.Block at line 519, column 16
"Leader.java": cannot resolve symbol: variable PR_ALIGNMENT_ADJUST in class
org.apache.fop.fo.flow.Leader at line 78, column 37
"Leader.java": cannot resolve symbol: variable PR_ALIGNMENT_BASELINE in
class org.apache.fop.fo.flow.Leader at line 79, column 39
"Leader.java": cannot resolve symbol: variable PR_VERTICAL_ALIGN in class
org.apache.fop.fo.flow.Leader at line 80, column 35
"Leader.java": cannot resolve symbol: variable PR_BASELINE_SHIFT in class
org.apache.fop.fo.flow.Leader at line 81, column 35
"Leader.java": cannot resolve symbol: variable PR_DOMINANT_BASELINE in class
org.apache.fop.fo.flow.Leader at line 82, column 38
"Leader.java": cannot resolve symbol: variable PR_TEXT_DEPTH in class
org.apache.fop.fo.flow.Leader at line 83, column 31
"Leader.java": cannot resolve symbol: variable PR_TEXT_ALTITUDE in class
org.apache.fop.fo.flow.Leader at line 84, column 34
"Leader.java": cannot resolve symbol: variable PR_ID in class
org.apache.fop.fo.flow.Leader at line 85, column 24
"Leader.java": cannot resolve symbol: variable PR_KEEP_WITH_NEXT in class
org.apache.fop.fo.flow.Leader at line 86, column 34
"Leader.java": cannot resolve symbol: variable PR_KEEP_WITH_PREVIOUS in
class org.apache.fop.fo.flow.Leader at line 87, column 38
"Leader.java": cannot resolve symbol: variable PR_LEADER_ALIGNMENT in class
org.apache.fop.fo.flow.Leader at line 88, column 37
"Leader.java": cannot resolve symbol: variable PR_LEADER_LENGTH in class
org.apache.fop.fo.flow.Leader at line 89, column 34
"Leader.java": cannot resolve symbol: variable PR_LEADER_PATTERN in class
org.apache.fop.fo.flow.Leader at line 90, column 35
"Leader.java": cannot resolve symbol: variable PR_LEADER_PATTERN_WIDTH in
class org.apache.fop.fo.flow.Leader at line 91, column 40
"Leader.java": cannot resolve symbol: variable EN_SPACE in class
org.apache.fop.fo.flow.Leader at line 93, column 14
"Leader.java": cannot resolve symbol: variable EN_RULE in class
org.apache.fop.fo.flow.Leader at line 96, column 14
"Leader.java": cannot resolve symbol: variable PR_RULE_STYLE in class
org.apache.fop.fo.flow.Leader at line 99, column 35
"Leader.java": cannot resolve symbol: variable PR_RULE_THICKNESS in class
org.apache.fop.fo.flow.Leader at line 100, column 39
"Leader.java": cannot resolve symbol: variable EN_DOTS in class
org.apache.fop.fo.flow.Leader at line 102, column 14
"Leader.java": cannot resolve symbol: variable EN_USECONTENT in class
org.apache.fop.fo.flow.Leader at line 104, column 14
"Leader.java": cannot resolve symbol: variable PR_WORD_SPACING in class
org.apache.fop.fo.flow.Leader at line 111, column 33
"Leader.java": cannot resolve symbol: method checkId (java.lang.String)in
class org.apache.fop.fo.flow.Leader at line 118, column 9
"Leader.java": cannot resolve symbol: variable FO_LEADER in class
org.apache.fop.fo.flow.Leader at line 189, column 16
"LeaderLayoutManager.java": cannot resolve symbol: method getFOEventHandler
()in class org.apache.fop.fo.flow.Leader at line 53, column 55
"LeaderLayoutManager.java": cannot resolve symbol: method setLayoutDimension
(org.apache.fop.datatypes.PercentBase.LayoutDimension,int)in class
org.apache.fop.fo.flow.Leader at line 70, column 14
"LeaderLayoutManager.java": cannot resolve symbol: method getChildNodes ()in
class org.apache.fop.fo.flow.Leader at line 113, column 22
"LeaderLayoutManager.java": cannot resolve symbol: method getLogger ()in
class org.apache.fop.fo.flow.Leader at line 114, column 22
"LeaderLayoutManager.java": cannot resolve symbol: method getUserAgent ()in
class org.apache.fop.fo.flow.Leader at line 125, column 35
"LayoutManagerMapping.java": cannot resolve symbol: class FObjMixed in class
org.apache.fop.layoutmgr.LayoutManagerMapping at line 88, column 20
"BidiOverride.java": cannot resolve symbol: variable FO_LEADER in class
org.apache.fop.fo.flow.BidiOverride at line 73, column 37
"BidiOverride.java": cannot resolve symbol: variable FO_INLINE_CONTAINER in
class org.apache.fop.fo.flow.BidiOverride at line 74, column 37
"BidiOverride.java": cannot resolve symbol: variable FO_INLINE in class
org.apache.fop.fo.flow.BidiOverride at line 75, column 37
"BidiOverride.java": cannot resolve symbol: variable FO_FOOTNOTE in class
org.apache.fop.fo.flow.BidiOverride at line 76, column 39
"BidiOverride.java": cannot resolve symbol: variable PR_COLOR in class
org.apache.fop.fo.flow.BidiOverride at line 99, column 29
"BidiOverride.java": cannot resolve symbol: variable PR_LINE_HEIGHT in class
org.apache.fop.fo.flow.BidiOverride at line 102, column 34
"BidiOverride.java": cannot resolve symbol: variable PR_WORD_SPACING in
class org.apache.fop.fo.flow.BidiOverride at line 105, column 35
"BidiOverride.java": cannot resolve symbol: variable FO_URI in class
org.apache.fop.fo.flow.BidiOverride at line 118, column 22
"BidiOverride.java": cannot resolve symbol: method nodesOutOfOrderError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.BidiOverride at line 120, column 16
"BidiOverride.java": cannot resolve symbol: method isBlockOrInlineItem
(java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.BidiOverride at line 123, column 21
"BidiOverride.java": cannot resolve symbol: method invalidChildError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.BidiOverride at line 124, column 13
"BidiOverride.java": cannot resolve symbol: method isBlockItem
(java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.BidiOverride at line 125, column 50
"BidiOverride.java": cannot resolve symbol: method invalidChildError
(org.xml.sax.Locator,java.lang.String,java.lang.String,java.lang.String)in
class org.apache.fop.fo.flow.BidiOverride at line 130, column 13
"BidiOverride.java": cannot resolve symbol: variable FO_BIDI_OVERRIDE in
class org.apache.fop.fo.flow.BidiOverride at line 147, column 16
"Wrapper.java": cannot resolve symbol: variable PR_ID in class
org.apache.fop.fo.flow.Wrapper at line 53, column 24
"Wrapper.java": cannot resolve symbol: method checkId (java.lang.String)in
class org.apache.fop.fo.flow.Wrapper at line 60, column 9
"Wrapper.java": cannot resolve symbol: variable FO_URI in class
org.apache.fop.fo.flow.Wrapper at line 72, column 22
"Wrapper.java": cannot resolve symbol: method nodesOutOfOrderError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.Wrapper at line 74, column 16
"Wrapper.java": cannot resolve symbol: method isBlockOrInlineItem
(java.lang.String,java.lang.String)in class org.apache.fop.fo.flow.Wrapper
at line 77, column 20
"Wrapper.java": cannot resolve symbol: method invalidChildError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.flow.Wrapper at line 80, column 13
"Wrapper.java": cannot resolve symbol: variable FO_WRAPPER in class
org.apache.fop.fo.flow.Wrapper at line 102, column 16
"Title.java": cannot resolve symbol: method isInlineItem
(java.lang.String,java.lang.String)in class
org.apache.fop.fo.pagination.Title at line 52, column 14
"Title.java": cannot resolve symbol: method invalidChildError
(org.xml.sax.Locator,java.lang.String,java.lang.String)in class
org.apache.fop.fo.pagination.Title at line 53, column 13
"Title.java": cannot resolve symbol: variable FO_TITLE in class
org.apache.fop.fo.pagination.Title at line 68, column 16
"ContentLayoutManager.java": cannot resolve symbol: method getUserAgent ()in
class org.apache.fop.fo.pagination.Title at line 72, column 30
"BlockLayoutManager.java": cannot resolve symbol: method getFOEventHandler
()in class org.apache.fop.fo.flow.Block at line 70, column 32
"JAIImage.java": package javax.media.jai does not exist at line 29, column
24
"JAIImage.java": package javax.media.jai does not exist at line 30, column
24
"JAIImage.java": package com.sun.media.jai.codec does not exist at line 32,
column 32
"JAIImage.java": package com.sun.media.jai.codec does not exist at line 48,
column 37
"JAIImage.java": cannot resolve symbol: class FileCacheSeekableStream in
class org.apache.fop.image.JAIImage at line 49, column 19
"JAIImage.java": cannot resolve symbol: class RenderedOp in class
org.apache.fop.image.JAIImage at line 50, column 13
"JAIImage.java": cannot resolve symbol: variable JAI in class
org.apache.fop.image.JAIImage at line 50, column 34
"JimiImage.java": package com.sun.jimi.core does not exist at line 29,
column 26
"JimiImage.java": cannot resolve symbol: variable Jimi in class
org.apache.fop.image.JimiImage at line 73, column 37
"JimiImage.java": cannot resolve symbol: variable Jimi in class
org.apache.fop.image.JimiImage at line 73, column 56
"JimiImage.java": cannot resolve symbol: variable Jimi in class
org.apache.fop.image.JimiImage at line 72, column 15
"FopPrintServlet.java": package javax.servlet does not exist at line 26,
column 22
"FopPrintServlet.java": package javax.servlet.http does not exist at line
27, column 27
"FopPrintServlet.java": package javax.servlet.http does not exist at line
28, column 27
"FopPrintServlet.java": package javax.servlet.http does not exist at line
29, column 27
"FopPrintServlet.java": cannot resolve symbol: class HttpServlet in class
org.apache.fop.servlet.FopPrintServlet at line 65, column 38
"FopPrintServlet.java": cannot resolve symbol: class ServletException in
class org.apache.fop.servlet.FopPrintServlet at line 83, column 31
"FopPrintServlet.java": cannot resolve symbol: class HttpServletRequest in
class org.apache.fop.servlet.FopPrintServlet at line 92, column 23
"FopPrintServlet.java": cannot resolve symbol: class HttpServletResponse in
class org.apache.fop.servlet.FopPrintServlet at line 93, column 23
"FopPrintServlet.java": cannot resolve symbol: class ServletException in
class org.apache.fop.servlet.FopPrintServlet at line 93, column 60
"FopPrintServlet.java": cannot resolve symbol: class HttpServletResponse in
class org.apache.fop.servlet.FopPrintServlet at line 132, column 26
"FopPrintServlet.java": cannot resolve symbol: class ServletException in
class org.apache.fop.servlet.FopPrintServlet at line 132, column 63
"FopPrintServlet.java": cannot resolve symbol: class HttpServletResponse in
class org.apache.fop.servlet.FopPrintServlet at line 163, column 27
"FopPrintServlet.java": cannot resolve symbol: class ServletException in
class org.apache.fop.servlet.FopPrintServlet at line 163, column 64
"FopPrintServlet.java": cannot resolve symbol: class HttpServletResponse in
class org.apache.fop.servlet.FopPrintServlet at line 187, column 27
"FopPrintServlet.java": cannot resolve symbol: class ServletException in
class org.apache.fop.servlet.FopPrintServlet at line 188, column 24
"FopPrintServlet.java": cannot resolve symbol: class ServletException in
class org.apache.fop.servlet.FopPrintServlet at line 118, column 18
"FopPrintServlet.java": cannot resolve symbol: class ServletException in
class org.apache.fop.servlet.FopPrintServlet at line 121, column 23
"FopPrintServlet.java": cannot resolve symbol: class ServletException in
class org.apache.fop.servlet.FopPrintServlet at line 151, column 23
"FopPrintServlet.java": cannot resolve symbol: class ServletException in
class org.apache.fop.servlet.FopPrintServlet at line 182, column 23
"FopPrintServlet.java": cannot resolve symbol: class ServletException in
class org.apache.fop.servlet.FopPrintServlet at line 201, column 23
"FopServlet.java": package javax.servlet does not exist at line 25, column
22
"FopServlet.java": package javax.servlet.http does not exist at line 26,
column 27
"FopServlet.java": package javax.servlet.http does not exist at line 27,
column 27
"FopServlet.java": package javax.servlet.http does not exist at line 28,
column 27
"FopServlet.java": cannot resolve symbol: class HttpServlet in class
org.apache.fop.servlet.FopServlet at line 67, column 33
"FopServlet.java": cannot resolve symbol: class ServletException in class
org.apache.fop.servlet.FopServlet at line 84, column 31
"FopServlet.java": cannot resolve symbol: class HttpServletRequest in class
org.apache.fop.servlet.FopServlet at line 93, column 23
"FopServlet.java": cannot resolve symbol: class HttpServletResponse in class
org.apache.fop.servlet.FopServlet at line 94, column 23
"FopServlet.java": cannot resolve symbol: class ServletException in class
org.apache.fop.servlet.FopServlet at line 94, column 60
"FopServlet.java": cannot resolve symbol: class ServletException in class
org.apache.fop.servlet.FopServlet at line 123, column 23
"FileCompare.java": package org.apache.tools.ant does not exist at line 29,
column 29
"FileCompare.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.FileCompare at line 158, column 34
"RunTest.java": package org.apache.tools.ant does not exist at line 22,
column 29
"RunTest.java": package org.apache.tools.ant does not exist at line 23,
column 29
"RunTest.java": cannot resolve symbol: class Task in class
org.apache.fop.tools.anttasks.RunTest at line 43, column 30
"RunTest.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.RunTest at line 87, column 34
"RunTest.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.RunTest at line 135, column 42
"RunTest.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.RunTest at line 119, column 31
"RunTest.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.RunTest at line 151, column 31
"RunTest.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.RunTest at line 166, column 27
"Fop.java": package org.apache.tools.ant does not exist at line 22, column
29
"Fop.java": package org.apache.tools.ant does not exist at line 23, column
29
"Fop.java": package org.apache.tools.ant does not exist at line 24, column
29
"Fop.java": package org.apache.tools.ant does not exist at line 25, column
29
"Fop.java": package org.apache.tools.ant.types does not exist at line 26,
column 35
"Fop.java": package org.apache.tools.ant.util does not exist at line 27,
column 34
"Fop.java": cannot resolve symbol: class Task in class
org.apache.fop.tools.anttasks.Fop at line 63, column 26
"Fop.java": cannot resolve symbol: class FileSet in class
org.apache.fop.tools.anttasks.Fop at line 113, column 28
"Fop.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.Fop at line 278, column 34
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 72, column 31
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 216, column 27
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 218, column 27
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 220, column 27
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 223, column 27
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 225, column 27
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 228, column 25
"Fop.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.Fop at line 229, column 23
"Fop.java": cannot resolve symbol: method getProject ()in class
org.apache.fop.tools.anttasks.Fop at line 255, column 46
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 281, column 18
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 282, column 18
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 283, column 18
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 284, column 18
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.Fop at line 285, column 18
"Fop.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.Fop at line 294, column 23
"Fop.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 359, column 23
"Fop.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 381, column 27
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 422, column 48
"Fop.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 437, column 31
"Fop.java": cannot resolve symbol: class GlobPatternMapper in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 456, column 9
"Fop.java": cannot resolve symbol: class GlobPatternMapper in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 456, column 40
"Fop.java": cannot resolve symbol: class FileSet in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 462, column 13
"Fop.java": cannot resolve symbol: class FileSet in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 462, column 27
"Fop.java": cannot resolve symbol: class DirectoryScanner in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 463, column 13
"Fop.java": cannot resolve symbol: method getProject ()in class
org.apache.fop.tools.anttasks.Fop at line 463, column 63
"Fop.java": cannot resolve symbol: method getProject ()in class
org.apache.fop.tools.anttasks.Fop at line 467, column 50
"Fop.java": cannot resolve symbol: method getProject ()in class
org.apache.fop.tools.anttasks.Fop at line 486, column 55
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 491, column 56
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 509, column 46
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 513, column 19
"Fop.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 525, column 23
"Fop.java": cannot resolve symbol: variable Project in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 529, column 49
"Fop.java": cannot resolve symbol: class BuildException in class
org.apache.fop.tools.anttasks.FOPTaskStarter at line 540, column 23
"SerializeHyphPattern.java": package org.apache.tools.ant.taskdefs does not
exist at line 27, column 38
"SerializeHyphPattern.java": package org.apache.tools.ant does not exist at
line 28, column 29
"SerializeHyphPattern.java": cannot resolve symbol: class MatchingTask in
class org.apache.fop.tools.anttasks.SerializeHyphPattern at line 39, column
43
"SerializeHyphPattern.java": package org.apache.tools.ant does not exist at
line 46, column 55
"SerializeHyphPattern.java": cannot resolve symbol: class DirectoryScanner
in class org.apache.fop.tools.anttasks.SerializeHyphPattern at line 47,
column 9
"SerializeHyphPattern.java": cannot resolve symbol: method
getDirectoryScanner (java.io.File)in class
org.apache.fop.tools.anttasks.SerializeHyphPattern at line 47, column 36

BTW: the page: http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide is a
blank page, why?

Thank you for replying my question.

Reply | Threaded
Open this post in threaded view
|

Re: build fop-1.0dev in java IDE

Jeremias Maerki

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
<snip/>

> 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

Reply | Threaded
Open this post in threaded view
|

Re: build fop-1.0dev in java IDE

GlenMazza
In reply to this post by Jeremias Maerki
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" <[hidden email]>
To: <[hidden email]>
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
>

Reply | Threaded
Open this post in threaded view
|

Re: build fop-1.0dev in java IDE

Kevin-6
Hi Glen,
Now I'm using Eclipse, and it works well.

----- Original Message -----
From: Glen Mazza [mailto:[hidden email]]
Sent: 2005年6月6日 22:14
To: [hidden email]
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" <[hidden email]>
To: <[hidden email]>
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
>

Reply | Threaded
Open this post in threaded view
|

Re: build fop-1.0dev in java IDE

gmazza
Happy to hear that.

Glen


Kevin wrote:

>Hi Glen,
>Now I'm using Eclipse, and it works well.
>
>----- Original Message -----
>From: Glen Mazza [mailto:[hidden email]]
>Sent: 2005??6??6?? 22:14
>To: [hidden email]
>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" <[hidden email]>
>To: <[hidden email]>
>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
>>
>>    
>>
>
>
>  
>