You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by lroloson <lr...@trmi.com> on 2009/10/12 21:40:16 UTC

.NET build on XP - jython?

I am trying to build the .NET direct_listener client example - I checked out
the code from
https://svn.apache.org/repos/asf/qpid/branches/0.5-release/qpid/dotnet/, I
have installed ant, and have the JDK loaded as well. When I run ant in the
gentools directory - I get the following errors; 

C:\Documents and Settings\Larry\My
Documents\development\dotnet\client-010\gento
ol>ant
Buildfile: build.xml

check_jython_deps:

build:
     [java] java.lang.NoClassDefFoundError: org/python/util/jython
     [java] Caused by: java.lang.ClassNotFoundException:
org.python.util.jython
     [java]     at java.net.URLClassLoader$1.run(Unknown Source)
     [java]     at java.security.AccessController.doPrivileged(Native
Method)
     [java]     at java.net.URLClassLoader.findClass(Unknown Source)
     [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
     [java]     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
Source)
     [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
     [java]     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
     [java] Could not find the main class: org.python.util.jython.  Program
will
 exit.
     [java] Exception in thread "main"

BUILD FAILED
C:\Documents and Settings\Larry\My
Documents\development\dotnet\client-010\gento
ol\build.xml:38: Java returned: 1

Total time: 0 seconds

Apparently jython is needed as well, I have downloaded it, but I still get
the error. I am unable to figure out what I am missing - any help would be
appreciated. 
-- 
View this message in context: http://n2.nabble.com/NET-build-on-XP-jython-tp3810152p3810152.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Re: .NET build on XP - jython?

Posted by Alexey Kiselev <al...@gmail.com>.
You need to checkout the entire qpid
repository(https://svn.apache.org/repos/asf/qpid/branches/0.5-release/qpid),
not only the /dotnet folder. Some targets in the build file depends on the
/java folder.

--
Alexey Kiselev.


lroloson wrote:
> 
> I am trying to build the .NET direct_listener client example - I checked
> out the code from
> https://svn.apache.org/repos/asf/qpid/branches/0.5-release/qpid/dotnet/, I
> have installed ant, and have the JDK loaded as well. When I run ant in the
> gentools directory - I get the following errors; 
> 
> C:\Documents and Settings\Larry\My
> Documents\development\dotnet\client-010\gento
> ol>ant
> Buildfile: build.xml
> 
> check_jython_deps:
> 
> build:
>      [java] java.lang.NoClassDefFoundError: org/python/util/jython
>      [java] Caused by: java.lang.ClassNotFoundException:
> org.python.util.jython
>      [java]     at java.net.URLClassLoader$1.run(Unknown Source)
>      [java]     at java.security.AccessController.doPrivileged(Native
> Method)
>      [java]     at java.net.URLClassLoader.findClass(Unknown Source)
>      [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
>      [java]     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown
> Source)
>      [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
>      [java]     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>      [java] Could not find the main class: org.python.util.jython. 
> Program will
>  exit.
>      [java] Exception in thread "main"
> 
> BUILD FAILED
> C:\Documents and Settings\Larry\My
> Documents\development\dotnet\client-010\gento
> ol\build.xml:38: Java returned: 1
> 
> Total time: 0 seconds
> 
> Apparently jython is needed as well, I have downloaded it, but I still get
> the error. I am unable to figure out what I am missing - any help would be
> appreciated. 
> 

-- 
View this message in context: http://n2.nabble.com/NET-build-on-XP-jython-tp3810152p3857049.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


RE: .NET build on XP - jython?

Posted by Steve Huston <sh...@riverace.com>.
> I am trying to build the .NET direct_listener client example 
> - I checked out the code from
> https://svn.apache.org/repos/asf/qpid/branches/0.5-release/qpi
> d/dotnet/, I
> have installed ant, and have the JDK loaded as well. When I 
> run ant in the gentools directory - I get the following errors; 
> 
> C:\Documents and Settings\Larry\My
> Documents\development\dotnet\client-010\gento
> ol>ant
> Buildfile: build.xml
> 
> check_jython_deps:
> 
> build:
>      [java] java.lang.NoClassDefFoundError: org/python/util/jython
>      [java] Caused by: java.lang.ClassNotFoundException:
> org.python.util.jython
>      [java]     at java.net.URLClassLoader$1.run(Unknown Source)
>      [java]     at
java.security.AccessController.doPrivileged(Native
> Method)
>      [java]     at java.net.URLClassLoader.findClass(Unknown Source)
>      [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
>      [java]     at
sun.misc.Launcher$AppClassLoader.loadClass(Unknown
> Source)
>      [java]     at java.lang.ClassLoader.loadClass(Unknown Source)
>      [java]     at 
> java.lang.ClassLoader.loadClassInternal(Unknown Source)
>      [java] Could not find the main class: 
> org.python.util.jython.  Program
> will
>  exit.
>      [java] Exception in thread "main"
> 
> BUILD FAILED
> C:\Documents and Settings\Larry\My
> Documents\development\dotnet\client-010\gento
> ol\build.xml:38: Java returned: 1
> 
> Total time: 0 seconds
> 
> Apparently jython is needed as well, I have downloaded it, 
> but I still get
> the error. I am unable to figure out what I am missing - any 
> help would be appreciated. 

I haven't tried the 0.5 .NET client, and I suspect very few others
have either - I think it's fallen into some disrepair. However,
there's a new WCF channel client implementation coming for 0.6 - you
can check it out of the repository from
https://svn.apache.org/repos/asf/qpid/trunk/qpid/wcf - you will also
need https://svn.apache.org/repos/asf/qpid/trunk/qpid/cpp since the
WCF channel code uses the C++ client underneath.

Please let us know how this goes if you decide to try it.

Thanks,
-Steve

--
Steve Huston, Riverace Corporation
Total Lifecycle Support for Your Networked Applications
http://www.riverace.com


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org