xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pe...@gresham-forms.co.uk
Subject RE: Batik Installation
Date Fri, 25 Jun 2004 10:58:33 GMT
Hi Swapna,

The provided build.bat in xml-batik should work ok.

set ANT_HOME=
set java_home=C:\j2sdk1.4.1_04

to launch SVG Browser :-

build svgbrowser

This uses the Ant 1.4.1 that comes with Batik.

Patrick

-----Original Message-----
From: swapna kotha [mailto:swapna_kotha@yahoo.com]
Sent: 25 June 2004 09:54
To: batik-users@xml.apache.org
Cc: batik-users-subscribe@xml.apache.org
Subject: Batik Installation


Hi,
I am new to this environment.I have downloaded the
batik-source-1.5.1 distribution and followed the
instructions for setting up the 
"ant_home = C:\My
Documents\swapna_kotha\batik\xml-batik " , 

"path= C:\My Documents\swapna_kotha\batik\xml-batik"
and 

"java_home= C:\j2sdk1.4.1_04" to run the svgbrowser. 

When I run the build file it says: 
"ANT_HOME is set incorrectly or ant could not be
located. Please set ANT_HOME."

Then I tried setting  my ant_home to "C:\Program
Files\Apache Software Foundation\apache-ant-1.6.1" 
it was throwing these exceptions:
-----------------------------------------
     [java] java.lang.NullPointerException
     [java]     at
javax.swing.ImageIcon.<init>(ImageIcon.java:138)
     [java]     at
org.apache.batik.apps.svgbrowser.AboutDialog.buildGUI(AboutDi
alog.java:166)
     [java]     at
org.apache.batik.apps.svgbrowser.AboutDialog.<init>(AboutDial
og.java:104)
     [java]     at
org.apache.batik.apps.svgbrowser.Main.<init>(Main.java:357)
     [java]     at
org.apache.batik.apps.svgbrowser.Main.main(Main.java:190)


     [java]
java.lang.reflect.InvocationTargetException
     [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
     [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
     [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at
java.lang.reflect.Method.invoke(Method.java:324)
     [java]     at
org.apache.tools.ant.taskdefs.ProcessDestroyer.removeShutdown
Hook(ProcessDestroyer.java:116)
     [java]     at
org.apache.tools.ant.taskdefs.ProcessDestroyer.remove(Process
Destroyer.java:186)
     [java]     at
org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:49
5)
     [java]     at
org.apache.tools.ant.taskdefs.Java.fork(Java.java:702)
     [java]     at
org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:161)

     [java]     at
org.apache.tools.ant.taskdefs.Java.execute(Java.java:77)
     [java]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:269)
     [java]     at
org.apache.tools.ant.Task.perform(Task.java:364)
     [java]     at
org.apache.tools.ant.Target.execute(Target.java:301)
     [java]     at
org.apache.tools.ant.Target.performTasks(Target.java:328)
     [java]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1215)

     [java]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1063
)
     [java]     at
org.apache.tools.ant.Main.runBuild(Main.java:632)
     [java]     at
org.apache.tools.ant.Main.startAnt(Main.java:183)
     [java]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
     [java]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
     [java] Caused by:
java.lang.IllegalStateException: Shutdown in progress
     [java]     at
java.lang.Shutdown.remove(Shutdown.java:102)
     [java]     at
java.lang.Runtime.removeShutdownHook(Runtime.java:218)
     [java]     ... 20 more
     [java] Java Result: 1
-----------------------------------------


I am using this software on Windows2000 and IE6 with
j2sdk1.4.1_04.

Any help would be greatly appreciated.

Thanks and Regards,
Swapna.


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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


_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered
by MessageLabs. For further information visit http://www.mci.com
Mime
View raw message