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 Alice Mello Cavallo <me...@media.mit.edu> on 2003/08/08 03:39:16 UTC

Eclipse & batik

Hello all,

I created a project named batik and imported all batik source into it using 
import>file system.

I have to make a couple changes in the directory structure, but most of it 
is ok.

The ant packages are not to be found:
// -- Ant classes ------------------------------------------------------------
import org.apache.tools.ant.Project;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.DirectoryScanner;
import org.apache.tools.ant.taskdefs.MatchingTask;
import org.apache.tools.ant.types.EnumeratedAttribute;
import org.apache.tools.ant.types.FileSet;
import org.apache.tools.ant.util.JAXPUtils;

Any idea where can I get them?

Thanks again,
Alice

Re: more on Eclipse & batik

Posted by Alice Mello Cavallo <me...@media.mit.edu>.
Should I move js.jar to org.apache.batik.script.rhino ?

Where do I find the missing Ant classes?

Thanks,
Alice
At 04:51 PM 8/7/2003, you wrote:
>Alice Mello Cavallo wrote:
>>Should I delete
>>org.apache.batik.script.jacl,
>>org.apache.batik.script.jpython and
>>org.apache.batik.script.rhino
>>from the project since I am in a windows platform? Those packages are 
>>also missing some classes.
>>I think that is all what I have to fix, before I can use it.
>
>     You can delete jacl and jpython, but I think you should
>keep rhino and add some of the jar files from xml-batik/lib
>in particular 'js.jar' which is the rhino interpreter.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: batik-users-help@xml.apache.org


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


Opening SVGDocument

Posted by Alice Mello Cavallo <me...@media.mit.edu>.
Hi all,

Sorry to be asking basic questions.
Is there any tutorial or documentation that can guide me on creating a 
frame or canvas that can open and manipulate SVG image. I was trying to get 
this answer at Batik, but the project is too complex for my understanding 
at this initial stage. I know I can create a JSVGFrame or JSVGComponent and 
then loadSVGDocument, but I still don't have it all together.

I am have imported the batik jars into my project.

Thanks,

Alice


Alice Mello Cavallo
PhD student at Tufts University
Technology in Education Consultant
Lesley University Adjunct Instructor
http://web.media.mit.edu/~mello/


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


RE: Org.apache.tools.ant

Posted by Boris Osipchuk <bo...@oneil.com>.
Alice,
	you could not find  GUI Builder because there is none. For me, however,
this is not something I would need.
	Since, you never said you only wanted to do drag and drop development, I
assumed you just needed a solid IDE.
	But don't dispair just yet. The beauty of Eclipse os that it is open source
and some company may have implemented GUI Building tool based on Eclipse.
	I know Rational wrapped its tool around Eclipse. So try searcing the net
for anything like that.
	If you don't find anything and still want to stick to drag and drop
development, then you probably will have to go back to JBuilder.

	About RasterizerTask.java
	In my project only JAXPUtils import cannot be resolved, but I never
bothered with it since Batik was running fine.

	About import of jars:
	Yes, just make sure you use appropriate button in Eclipse
	Add Jars - adds jars that are already reside in some directory inside the
project.
	Add External Jars - adds jars that are outside the project



Boris A. Osipchuk
Application Engineer

O'NEIL & ASSOCIATES, INC.
495 Byers Rd.
Miamisburg, Ohio 45342-3662
Phone: (937) 865-0846 ext. 3425
Fax: (937) 865-5858
E-mail: bosipchuk@oneil.com

-----Original Message-----
From: Alice Mello Cavallo [mailto:mello@media.mit.edu]
Sent: Friday, August 08, 2003 3:12 PM
To: 'Batik Users'
Subject: RE: Org.apache.tools.ant

Thank you Boris,

Eclipse seems "smarter" than JBuilder, but I could not find a gui interface
yet. I like the easiness of dragging and clicking visual objects and the
code be built behind the scene.

I have followed your suggestions and everything is clear now, except for
RasterizerTask.java.:
Two of the ant imports can not be resolved (Project and JAXPUtils)

If I just want to import batik features inside my project, could I use your
instructions to add all batik jars into it?

Alice



At 05:23 AM 8/8/2003, you wrote:
>Ant comes with Batik, so you don't have to download a new one.
>Try this for Ant.
>Right-click on your Batik project, select Properties, select Java Build
>Path, make sure the Libraries tab is selected. Click Add Jar, then expand
>Batik project, expand lib folder, expand build folder. Choose ant jar file.
>Click OK.
>I hope this helps.
>
>P.S There is book about Eclipse from www.manning.com. It is called Eclipse
>in Action.
>You might want to buy it if you decide that yo like Eclipse. They have a
pdf
>option which is like $25.
>
>Boris A. Osipchuk
>Application Engineer
>
>O'NEIL & ASSOCIATES, INC.
>495 Byers Rd.
>Miamisburg, Ohio 45342-3662
>Phone: (937) 865-0846 ext. 3425
>Fax: (937) 865-5858
>E-mail: bosipchuk@oneil.com
>
>-----Original Message-----
>From: Alice Mello Cavallo [mailto:mello@media.mit.edu]
>Sent: Friday, August 08, 2003 3:18 AM
>To: Batik Users
>Subject: Org.apache.tools.ant
>
>I have exploded js.jar and ant1_4_1.jar, but instead of *.java files, I got
>class ones.
>
>Therefore, the imports org.apache.tools.ant still have errors.
>
>Please help!!!!!!
>
>
>
>Alice
>
>
>At 04:51 PM 8/7/2003, you wrote:
> >Alice Mello Cavallo wrote:
> >>Should I delete
> >>org.apache.batik.script.jacl,
> >>org.apache.batik.script.jpython and
> >>org.apache.batik.script.rhino
> >>from the project since I am in a windows platform? Those packages are
> >>also missing some classes.
> >>I think that is all what I have to fix, before I can use it.
> >
> >     You can delete jacl and jpython, but I think you should
> >keep rhino and add some of the jar files from xml-batik/lib
> >in particular 'js.jar' which is the rhino interpreter.
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> >For additional commands, e-mail: batik-users-help@xml.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: batik-users-help@xml.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: batik-users-help@xml.apache.org

Alice Mello Cavallo
PhD student at Tufts University
Technology in Education Consultant
Lesley University Adjunct Instructor
http://web.media.mit.edu/~mello/


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


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


RE: Org.apache.tools.ant

Posted by Alice Mello Cavallo <me...@media.mit.edu>.
Thank you Boris,

Eclipse seems "smarter" than JBuilder, but I could not find a gui interface 
yet. I like the easiness of dragging and clicking visual objects and the 
code be built behind the scene.

I have followed your suggestions and everything is clear now, except for 
RasterizerTask.java.:
Two of the ant imports can not be resolved (Project and JAXPUtils)

If I just want to import batik features inside my project, could I use your 
instructions to add all batik jars into it?

Alice



At 05:23 AM 8/8/2003, you wrote:
>Ant comes with Batik, so you don't have to download a new one.
>Try this for Ant.
>Right-click on your Batik project, select Properties, select Java Build
>Path, make sure the Libraries tab is selected. Click Add Jar, then expand
>Batik project, expand lib folder, expand build folder. Choose ant jar file.
>Click OK.
>I hope this helps.
>
>P.S There is book about Eclipse from www.manning.com. It is called Eclipse
>in Action.
>You might want to buy it if you decide that yo like Eclipse. They have a pdf
>option which is like $25.
>
>Boris A. Osipchuk
>Application Engineer
>
>O'NEIL & ASSOCIATES, INC.
>495 Byers Rd.
>Miamisburg, Ohio 45342-3662
>Phone: (937) 865-0846 ext. 3425
>Fax: (937) 865-5858
>E-mail: bosipchuk@oneil.com
>
>-----Original Message-----
>From: Alice Mello Cavallo [mailto:mello@media.mit.edu]
>Sent: Friday, August 08, 2003 3:18 AM
>To: Batik Users
>Subject: Org.apache.tools.ant
>
>I have exploded js.jar and ant1_4_1.jar, but instead of *.java files, I got
>class ones.
>
>Therefore, the imports org.apache.tools.ant still have errors.
>
>Please help!!!!!!
>
>
>
>Alice
>
>
>At 04:51 PM 8/7/2003, you wrote:
> >Alice Mello Cavallo wrote:
> >>Should I delete
> >>org.apache.batik.script.jacl,
> >>org.apache.batik.script.jpython and
> >>org.apache.batik.script.rhino
> >>from the project since I am in a windows platform? Those packages are
> >>also missing some classes.
> >>I think that is all what I have to fix, before I can use it.
> >
> >     You can delete jacl and jpython, but I think you should
> >keep rhino and add some of the jar files from xml-batik/lib
> >in particular 'js.jar' which is the rhino interpreter.
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> >For additional commands, e-mail: batik-users-help@xml.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: batik-users-help@xml.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: batik-users-help@xml.apache.org

Alice Mello Cavallo
PhD student at Tufts University
Technology in Education Consultant
Lesley University Adjunct Instructor
http://web.media.mit.edu/~mello/


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


Re: Org.apache.tools.ant

Posted by Thomas DeWeese <Th...@Kodak.com>.
Alice Mello Cavallo wrote:
> I have exploded js.jar and ant1_4_1.jar, but instead of *.java files, I 
> got class ones.
> 
> Therefore, the imports org.apache.tools.ant still have errors.

     I don't think you want the ant files.  These are used to
provide an SVG rasterization task for Ant which you probably don't
want.

     Someone else told you how to add the Jar files to the
class path directly in eclipse - this is what you want to do.




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


RE: Org.apache.tools.ant

Posted by Boris Osipchuk <bo...@oneil.com>.
Ant comes with Batik, so you don't have to download a new one.
Try this for Ant.
Right-click on your Batik project, select Properties, select Java Build
Path, make sure the Libraries tab is selected. Click Add Jar, then expand
Batik project, expand lib folder, expand build folder. Choose ant jar file.
Click OK.
I hope this helps.

P.S There is book about Eclipse from www.manning.com. It is called Eclipse
in Action.
You might want to buy it if you decide that yo like Eclipse. They have a pdf
option which is like $25.

Boris A. Osipchuk
Application Engineer

O'NEIL & ASSOCIATES, INC.
495 Byers Rd.
Miamisburg, Ohio 45342-3662
Phone: (937) 865-0846 ext. 3425
Fax: (937) 865-5858
E-mail: bosipchuk@oneil.com

-----Original Message-----
From: Alice Mello Cavallo [mailto:mello@media.mit.edu]
Sent: Friday, August 08, 2003 3:18 AM
To: Batik Users
Subject: Org.apache.tools.ant

I have exploded js.jar and ant1_4_1.jar, but instead of *.java files, I got
class ones.

Therefore, the imports org.apache.tools.ant still have errors.

Please help!!!!!!



Alice


At 04:51 PM 8/7/2003, you wrote:
>Alice Mello Cavallo wrote:
>>Should I delete
>>org.apache.batik.script.jacl,
>>org.apache.batik.script.jpython and
>>org.apache.batik.script.rhino
>>from the project since I am in a windows platform? Those packages are
>>also missing some classes.
>>I think that is all what I have to fix, before I can use it.
>
>     You can delete jacl and jpython, but I think you should
>keep rhino and add some of the jar files from xml-batik/lib
>in particular 'js.jar' which is the rhino interpreter.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: batik-users-help@xml.apache.org


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


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


Org.apache.tools.ant

Posted by Alice Mello Cavallo <me...@media.mit.edu>.
I have exploded js.jar and ant1_4_1.jar, but instead of *.java files, I got 
class ones.

Therefore, the imports org.apache.tools.ant still have errors.

Please help!!!!!!



Alice


At 04:51 PM 8/7/2003, you wrote:
>Alice Mello Cavallo wrote:
>>Should I delete
>>org.apache.batik.script.jacl,
>>org.apache.batik.script.jpython and
>>org.apache.batik.script.rhino
>>from the project since I am in a windows platform? Those packages are 
>>also missing some classes.
>>I think that is all what I have to fix, before I can use it.
>
>     You can delete jacl and jpython, but I think you should
>keep rhino and add some of the jar files from xml-batik/lib
>in particular 'js.jar' which is the rhino interpreter.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: batik-users-help@xml.apache.org


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


Re: more on Eclipse & batik

Posted by Thomas DeWeese <Th...@Kodak.com>.
Alice Mello Cavallo wrote:
> Should I delete
> org.apache.batik.script.jacl,
> org.apache.batik.script.jpython and
> org.apache.batik.script.rhino
> 
> from the project since I am in a windows platform? Those packages are 
> also missing some classes.
> 
> I think that is all what I have to fix, before I can use it.

     You can delete jacl and jpython, but I think you should
keep rhino and add some of the jar files from xml-batik/lib
in particular 'js.jar' which is the rhino interpreter.



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


RE: more on Eclipse & batik

Posted by Boris Osipchuk <bo...@oneil.com>.
I think when you add js.jar to the Java Build Path that should take care of
the rhino errors.
I could not find any jars for the other two. I don't know if you want to
delete them, but they won't interfere in Batik running.

Boris A. Osipchuk
Application Engineer

O'NEIL & ASSOCIATES, INC.
495 Byers Rd.
Miamisburg, Ohio 45342-3662
Phone: (937) 865-0846 ext. 3425
Fax: (937) 865-5858
E-mail: bosipchuk@oneil.com

-----Original Message-----
From: Alice Mello Cavallo [mailto:mello@media.mit.edu]
Sent: Thursday, August 07, 2003 9:51 PM
To: Batik Users
Subject: more on Eclipse & batik

Hello,

Should I delete
org.apache.batik.script.jacl,
org.apache.batik.script.jpython and
org.apache.batik.script.rhino

from the project since I am in a windows platform? Those packages are also
missing some classes.

I think that is all what I have to fix, before I can use it.

Thank you so much,

Alice


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


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


more on Eclipse & batik

Posted by Alice Mello Cavallo <me...@media.mit.edu>.
Hello,

Should I delete
org.apache.batik.script.jacl,
org.apache.batik.script.jpython and
org.apache.batik.script.rhino

from the project since I am in a windows platform? Those packages are also 
missing some classes.

I think that is all what I have to fix, before I can use it.

Thank you so much,

Alice


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