You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by A Leg <ha...@yahoo.com> on 2004/10/14 19:58:22 UTC

Jelly : Is Jelly still active

Hi

I send several mails about a problem I have with Jelly.
Running JellySwt demo on a Linux Fedora 2 I got this error
no swt-win32-2128 in java.library.path

And no answers.

Is Jelly a project still active ?

Thank's for any answer

Andre Legendre

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: Jelly : no swt-win32-2128 in java.library.path

Posted by A Leg <ha...@yahoo.com>.
Hi

On step ahead
Following your informations I connected myself to :

http://www.ibiblio.org/maven/swt/jars/
and I found the "maven name" of linux gtk swt jar :

swt-linux-gtk-3.0m8.jar

So I have replaced the swt version tag in project.xml :
win32-2.1.0
by
linux-gtk-3.0m8

And I have been one step ahead. It does not complain any more about swt jar.

Now the problem is : java.lang.NoClassDefFoundError: 
org/eclipse/swt/internal/gtk/OS

Complete log below :


{orion:rcs} maven demo
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

Attempting to download swt-linux-gtk-3.0m8.jar.
856K downloaded
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.NoClassDefFoundError: 
org/eclipse/swt/internal/gtk/OS
    [java]      at org.eclipse.swt.widgets.Text.<clinit>(Text.java:42)
    [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:121)
    [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

A Leg wrote:

> Hi Dion
>
> Thank's for answer.
>
> In clear does that mean that I must change something in project.xml ?
> What jar name should I use for gtk swt jar ?
> Or must I just replace the swt-win32-2.1.0.jar by the eclipse gtk/swt.jar
>
> I saw that all jar files have an md5 corresponding file, how can I 
> solve this ?
>
> Cheers
>
> Andre
>
> Dion Gillard wrote:
>
>> On Fri, 15 Oct 2004 09:09:12 +0300, A Leg <ha...@yahoo.com> wrote:
>>  
>>
>>> I
>>>
>>> Hans is right
>>>
>>> I found this in build.xml :
>>> <get dest="${libdir}/swt-win32-2.1.0.jar" usetimestamp="true"
>>> ignoreerrors="true"
>>> src="http://www.ibiblio.org/maven/swt/jars/swt-win32-2.1.0.jar">
>>> and from that I found :
>>>   
>>
>>
>> The build.xml file is generated from project.xmland that entry is
>> generated from this:
>>
>>    <dependency>
>>      <id>swt</id>
>>      <!-- don't know how to support OS-dependent jars in Maven yet -->
>>
>>      <version>win32-2.1.0</version>
>>    </dependency>
>>
>> You'll need to change that dependency to use your OS specific version
>> of the swt jar.
>> The jar must be in the local maven repository.
>>  
>>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: Jelly : no swt-win32-2128 in java.library.path

Posted by A Leg <ha...@yahoo.com>.
Hi Dion

Thank's for answer.

In clear does that mean that I must change something in project.xml ?
What jar name should I use for gtk swt jar ?
Or must I just replace the swt-win32-2.1.0.jar by the eclipse gtk/swt.jar

I saw that all jar files have an md5 corresponding file, how can I solve 
this ?

Cheers

Andre

Dion Gillard wrote:

>On Fri, 15 Oct 2004 09:09:12 +0300, A Leg <ha...@yahoo.com> wrote:
>  
>
>>I
>>
>>Hans is right
>>
>>I found this in build.xml :
>><get dest="${libdir}/swt-win32-2.1.0.jar" usetimestamp="true"
>>ignoreerrors="true"
>>src="http://www.ibiblio.org/maven/swt/jars/swt-win32-2.1.0.jar">
>>and from that I found :
>>    
>>
>
>The build.xml file is generated from project.xmland that entry is
>generated from this:
>
>    <dependency>
>      <id>swt</id>
>      <!-- don't know how to support OS-dependent jars in Maven yet -->
>
>      <version>win32-2.1.0</version>
>    </dependency>
>
>You'll need to change that dependency to use your OS specific version
>of the swt jar.
>The jar must be in the local maven repository.
>  
>


Re: Jelly : no swt-win32-2128 in java.library.path

Posted by Dion Gillard <di...@gmail.com>.
On Fri, 15 Oct 2004 09:09:12 +0300, A Leg <ha...@yahoo.com> wrote:
> I
> 
> Hans is right
> 
> I found this in build.xml :
> <get dest="${libdir}/swt-win32-2.1.0.jar" usetimestamp="true"
> ignoreerrors="true"
> src="http://www.ibiblio.org/maven/swt/jars/swt-win32-2.1.0.jar">
> and from that I found :

The build.xml file is generated from project.xmland that entry is
generated from this:

    <dependency>
      <id>swt</id>
      <!-- don't know how to support OS-dependent jars in Maven yet -->

      <version>win32-2.1.0</version>
    </dependency>

You'll need to change that dependency to use your OS specific version
of the swt jar.
The jar must be in the local maven repository.
-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: Jelly : no swt-win32-2128 in java.library.path

Posted by A Leg <ha...@yahoo.com>.
I

Hans is right

I found this in build.xml :
<get dest="${libdir}/swt-win32-2.1.0.jar" usetimestamp="true" 
ignoreerrors="true" 
src="http://www.ibiblio.org/maven/swt/jars/swt-win32-2.1.0.jar">
and from that I found :

{orion:rcs} locate swt-win32-2.1.0.jar
/home/rcs/.maven/repository/swt/jars/swt-win32-2.1.0.jar
/home/rcs/.maven/repository/swt/jars/swt-win32-2.1.0.jar.md5

So we know the problem now.

Anybody have the solution ?
Thank's again.

Andre

Dion Gillard wrote:

>On Fri, 15 Oct 2004 01:21:15 -0400, Hans Gilde
><hg...@earthlink.net> wrote:
>  
>
>>The SWT stuff compiles and passes tests with the Eclipse 3 SWT JAR; I think
>>it should run fine.
>>
>>The SWT JAR is installed by jelly-tags/swt/build.xml
>>    
>>
>
>project.xml you mean.
>  
>


Re: Jelly : Is Jelly still active

Posted by Dion Gillard <di...@gmail.com>.
On Fri, 15 Oct 2004 01:21:15 -0400, Hans Gilde
<hg...@earthlink.net> wrote:
> The SWT stuff compiles and passes tests with the Eclipse 3 SWT JAR; I think
> it should run fine.
> 
> The SWT JAR is installed by jelly-tags/swt/build.xml

project.xml you mean.
-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


RE: Jelly : Is Jelly still active

Posted by Hans Gilde <hg...@earthlink.net>.
The SWT stuff compiles and passes tests with the Eclipse 3 SWT JAR; I think
it should run fine.

The SWT JAR is installed by jelly-tags/swt/build.xml

-----Original Message-----
From: A Leg [mailto:hale_india@yahoo.com] 
Sent: Friday, October 15, 2004 12:12 AM
To: Jakarta Commons Users List
Subject: Re: Jelly : Is Jelly still active

Hi Dion

I sent my e_mails on this list and on maven list.

I have eclipse 3.01. Does Jelly require swt jar for 2.1 specificaly ?
Does Jelly install some swt jar during download ?

Eclipse works good on my machine.

But with your infos will help me to find out, I hope.

Thank's for your help

Andre
Dion Gillard wrote:

>Andre, where did you send the emails?
>
>I haven't seen them.
>
>The answer is that JellySwt and the swt jars need the swt binaries in
>the path (LD_LIBRARY_PATH?).
>
>I believe the swt jars that are provided are using the windows native
>code. Replace the swt jars with the appropriate ones for eclipse 2.1
>on linux and make sure the swt binaries are in the path.
>
>
>On Thu, 14 Oct 2004 20:58:22 +0300, A Leg <ha...@yahoo.com> wrote:
>  
>
>>Hi
>>
>>I send several mails about a problem I have with Jelly.
>>Running JellySwt demo on a Linux Fedora 2 I got this error
>>no swt-win32-2128 in java.library.path
>>
>>And no answers.
>>
>>Is Jelly a project still active ?
>>
>>Thank's for any answer
>>
>>Andre Legendre
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: Jelly : Is Jelly still active

Posted by A Leg <ha...@yahoo.com>.
Hi Dion

I sent my e_mails on this list and on maven list.

I have eclipse 3.01. Does Jelly require swt jar for 2.1 specificaly ?
Does Jelly install some swt jar during download ?

Eclipse works good on my machine.

But with your infos will help me to find out, I hope.

Thank's for your help

Andre
Dion Gillard wrote:

>Andre, where did you send the emails?
>
>I haven't seen them.
>
>The answer is that JellySwt and the swt jars need the swt binaries in
>the path (LD_LIBRARY_PATH?).
>
>I believe the swt jars that are provided are using the windows native
>code. Replace the swt jars with the appropriate ones for eclipse 2.1
>on linux and make sure the swt binaries are in the path.
>
>
>On Thu, 14 Oct 2004 20:58:22 +0300, A Leg <ha...@yahoo.com> wrote:
>  
>
>>Hi
>>
>>I send several mails about a problem I have with Jelly.
>>Running JellySwt demo on a Linux Fedora 2 I got this error
>>no swt-win32-2128 in java.library.path
>>
>>And no answers.
>>
>>Is Jelly a project still active ?
>>
>>Thank's for any answer
>>
>>Andre Legendre
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>
>  
>


Re: Jelly : Is Jelly still active

Posted by Dion Gillard <di...@gmail.com>.
Andre, where did you send the emails?

I haven't seen them.

The answer is that JellySwt and the swt jars need the swt binaries in
the path (LD_LIBRARY_PATH?).

I believe the swt jars that are provided are using the windows native
code. Replace the swt jars with the appropriate ones for eclipse 2.1
on linux and make sure the swt binaries are in the path.


On Thu, 14 Oct 2004 20:58:22 +0300, A Leg <ha...@yahoo.com> wrote:
> Hi
> 
> I send several mails about a problem I have with Jelly.
> Running JellySwt demo on a Linux Fedora 2 I got this error
> no swt-win32-2128 in java.library.path
> 
> And no answers.
> 
> Is Jelly a project still active ?
> 
> Thank's for any answer
> 
> Andre Legendre
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 


-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org