commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A Leg <hale_in...@yahoo.com>
Subject Re: no swt-win32-2128 in java.library.path in LINUX
Date Tue, 19 Oct 2004 04:26:52 GMT
Hi Dion

Thank's for answer.
Yes and linux jar are in ibiblio, and I can change hardcode for this, I 
have done it and went one step ahead.
But the problem at the end is natives library which are not stored in 
ibiblio.(cf my previous mails and Jira for details)
Is it no way to solve this in a nice way. I saw that it is a Maven 
native plugins, may be using this plugins functions you could solve it.
Eclipse team, manage this in a good way for eclipse compile using ant.

Is ant better than Maven ? ;-)
It is not very demonstrative for a Maven linked project to fail at 
compile :-(

Have a nice day 8-)

Andre

Dion Gillard wrote:

>This was discussed recently. By default JellySWT comes with a windows
>specific jar. You'll need the linux jar and it's runtime dependencies.
>
>
>On Thu, 14 Oct 2004 11:51:26 +0300, A Leg <hale_india@yahoo.com> wrote:
>  
>
>>Hi
>>
>>I am interested to use jetty swt for our project.
>>http://compiere-mfgscm.sourceforge.net
>>
>>I when I try to run jetty swt demo on Linux fedora 2 I get this :
>>
>>Any help welcome.
>>Thank's for any reply
>>
>>Andre Legendre
>>{orion:rcs} maven demo
>> __  __
>>|  \/  |__ _Apache__ ___
>>| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>|_|  |_\__,_|\_/\___|_||_|  v. 1.0
>>
>>build:start:
>>
>>java:prepare-filesystem:
>>
>>java:compile:
>>    [echo] Compiling to
>>/home/rcs/Master/extern/java/jakarta/jakarta-commons/jelly/jelly-tags/swt/target/classes
>>
>>java:jar-resources:
>>
>>test:prepare-filesystem:
>>
>>test:test-resources:
>>
>>test:compile:
>>
>>create-classpath:
>>
>>demo:
>>    [java] Exception in thread "main" java.lang.UnsatisfiedLinkError: no
>>swt-win32-2128 in java.library.path
>>    [java]      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
>>    [java]      at java.lang.Runtime.loadLibrary0(Runtime.java:788)
>>
>>    [java]      at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:42)
>>    [java]      at
>>org.eclipse.swt.internal.win32.TCHAR.<clinit>(TCHAR.java:26)
>>    [java]      at org.eclipse.swt.widgets.Widget.<clinit>(Widget.java:79)
>>    [java]      at java.lang.Class.forName0(Native Method)
>>    [java]      at java.lang.Class.forName(Class.java:141)
>>    [java]      at
>>org.apache.commons.jelly.tags.swt.SwtTagLibrary.class$(SwtTagLibrary.java:84)
>>    [java]      at
>>org.apache.commons.jelly.tags.swt.SwtTagLibrary.<init>(SwtTagLibrary.java:94)
>>    [java]      at
>>sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>    [java]      at
>>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>    [java]      at
>>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>    [java]      at
>>java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>>    [java]      at java.lang.Class.newInstance0(Class.java:308)
>>    [java]      at java.lang.Class.newInstance(Class.java:261)
>>    [java]      at
>>org.apache.commons.jelly.JellyContext.getTagLibrary(JellyContext.java:454)
>>    [java]      at
>>org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:979)
>>    [java]      at
>>org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:593)
>>    [java]      at
>>org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:446)
>>    [java]      at
>>org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:306)
>>    [java]      at
>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1568)
>>    [java]      at
>>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:355)
>>    [java]      at
>>org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:539)
>>    [java]      at
>>org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:595)
>>    [java]      at
>>org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
>>    [java]      at
>>org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1125)
>>    [java]      at
>>org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:238)
>>    [java]      at
>>org.apache.commons.jelly.Jelly.compileScript(Jelly.java:125)
>>    [java]      at
>>org.apache.commons.jelly.util.CommandLineParser.invokeCommandLineJelly(CommandLineParser.java:98)
>>    [java]      at org.apache.commons.jelly.Jelly.main(Jelly.java:92)
>>    [java] [ERROR] Java Result: 1
>>BUILD SUCCESSFUL
>>Total time: 5 seconds
>>Finished at: Thu Oct 14 11:30:44 EEST 2004
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>
>  
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message