You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marcin Antczak <ma...@idea.net.pl> on 2004/08/12 04:57:46 UTC
problem with SWT
Hello!
Can anyone tell me how could I use jelly:swt tags from maven.xml script?
What I have got now:
cd ~
export | grep JAVA_HOME
declare -x JAVA_HOME="/lfs/usr"
wget
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/swt/src/test/org/apache/commons/jelly/tags/swt/example.jelly?rev=HEAD
rename example.jelly\?rev\=HEAD maven.xml example.jelly\?rev\=HEAD
wget
http://download2.eclipse.org/downloads/drops/R-3.0-200406251208/swt-3.0-linux-gtk.zip
unzip -l swt-3.0-linux-gtk.zip
Archive: swt-3.0-linux-gtk.zip
Length Date Time Name
-------- ---- ---- ----
906222 06-25-04 19:17 swt.jar
50698 06-25-04 19:17 swt-pi.jar
75982 06-25-04 19:17 swt-mozilla.jar
840865 06-25-04 19:17 swtsrc.zip
139878 06-25-04 19:17 swt-pisrc.zip
86321 06-25-04 19:17 swt-mozillasrc.zip
3453 06-25-04 19:17 about.html
15048 06-25-04 19:17 cpl-v10.html
26432 06-25-04 19:17 lgpl-v21.txt
25755 06-25-04 19:17 mpl-v11.txt
14169 06-25-04 19:17 libswt-gnome-gtk-3062.so
207030 06-25-04 19:17 libswt-gtk-3062.so
43509 06-25-04 19:17 libswt-atk-gtk-3062.so
331161 06-25-04 19:17 libswt-pi-gtk-3062.so
6607 06-25-04 19:17 libswt-awt-gtk-3062.so
52232 06-25-04 19:17 libswt-mozilla-gtk-3062.so
-------- -------
2825362 16 files
unzip -d $JAVA_HOME/lib swt-3.0-linux-gtk.zip
maven -e -Djava.library.path=$JAVA_HOME/lib
java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3062 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
[...]
How to configure jelly, maven and swt to make them work properly together?
Marcin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org