You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by ruben malchow <r_...@web.de> on 2006/09/27 19:39:11 UTC

building the whole thing ...

hello list,

so ... i am looking into trying to find out what i can do about the 
epstranscoder thing myself, pressing f4 all day. now after looking 
around a bit, i want to start fiddling around with it. i got the three 
svn trees

       batik
       fop
       xmlgraphics-common

what's your setup for this? i mean, building it using the build.xml in 
the trees works fine, but if i'm changing single files, i don't want to 
rebuild the whole thing, on the other hand, if i build it all to a 
single directory as .class files, things like the ImageWriterRegistry 
don't get initialized properly. i guess it needs to be packaged in a jar 
file with a proper META-INF directory ...

how do you guys do this, preferably in eclipse?

.rm


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: building the whole thing ...

Posted by ruben malchow <r_...@web.de>.

whoa. it really is weird. it took me about 2 hours to set everything up 
and resolve all the dependencies. it is amazing how many org.apache.* 
classes there are out there, and how many versions and different 
flavours of each. plus, all these packages seem to depend on one 
another, but commons-foo-0.92 depends on commons-bar-0.32, while 
commons-foobar-1.22 depends on commons-bar-1.87b (and, of course, an 
otherwise unmarked snapshot is included: commons-bar-svn-snapshot.jar) ...

anyway. my xmlgraphics-* working set is finally up and running ... :)

.rm




Jeremias Maerki schrieb:
> I have a project in Eclipse per subproject, with the dependencies as
> needed (Batik depends on FOP, FOP depends on Commons). I simply add the
> src/resources directory to the source directories in Eclipse and all the
> META-INF stuff works. With this setup I can change all the things I want
> and when I'm done I rebuild Commons and put the JAR in FOP's lib
> directory. Then I can build FOP using the Ant build and finally I can
> move the transcoder JAR over to Batik. Building FOP in Eclipse, it is
> important to run "ant codegen" to generated some additional source files
> (see build/gensrc).
>
> See also (maybe a little outdated):
> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide
>
> HTH
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: building the whole thing ...

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
I have a project in Eclipse per subproject, with the dependencies as
needed (Batik depends on FOP, FOP depends on Commons). I simply add the
src/resources directory to the source directories in Eclipse and all the
META-INF stuff works. With this setup I can change all the things I want
and when I'm done I rebuild Commons and put the JAR in FOP's lib
directory. Then I can build FOP using the Ant build and finally I can
move the transcoder JAR over to Batik. Building FOP in Eclipse, it is
important to run "ant codegen" to generated some additional source files
(see build/gensrc).

See also (maybe a little outdated):
http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide

HTH

On 27.09.2006 19:39:11 ruben malchow wrote:
> 
> hello list,
> 
> so ... i am looking into trying to find out what i can do about the 
> epstranscoder thing myself, pressing f4 all day. now after looking 
> around a bit, i want to start fiddling around with it. i got the three 
> svn trees
> 
>        batik
>        fop
>        xmlgraphics-common
> 
> what's your setup for this? i mean, building it using the build.xml in 
> the trees works fine, but if i'm changing single files, i don't want to 
> rebuild the whole thing, on the other hand, if i build it all to a 
> single directory as .class files, things like the ImageWriterRegistry 
> don't get initialized properly. i guess it needs to be packaged in a jar 
> file with a proper META-INF directory ...
> 
> how do you guys do this, preferably in eclipse?



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org