Sources for 3rd party jars
Sources for 3rd party jars
I am attempting to package jReality for the Fedora Linux distribution. Fedora has both "build from source" and "no bundled libraries" rules, which means that I have to package all of the 3rd party jars separately. I'm having trouble with a few of them. I hope this is the right forum; point me elsewhere if it isn't.
First, jjack 0.3 at http://jjack.berlios.de/ does not contain the JJackNativeClient* classes in lib/jjack_min.jar. Is that from an older release? Somewhere else?
Second, I'm having some difficulty determining the source of lib/pd.jar as well. I found the Pure Data web site, but am having difficulty locating this particular jar. A pointer would be much appreciated.
Third, I got smrj.jar and smrj-client.jar from the smrj repository, but I don't see the classes in lib/smrj-app.jar. Where are the sources for those classes?
Finally, I had to do this to build successfully with the current upstream version of jterm: sed -i 's|import jterm|import de.jtem.jterm|' src-ui/de/jreality/ui/viewerapp/BeanShell.java
Thank you!
First, jjack 0.3 at http://jjack.berlios.de/ does not contain the JJackNativeClient* classes in lib/jjack_min.jar. Is that from an older release? Somewhere else?
Second, I'm having some difficulty determining the source of lib/pd.jar as well. I found the Pure Data web site, but am having difficulty locating this particular jar. A pointer would be much appreciated.
Third, I got smrj.jar and smrj-client.jar from the smrj repository, but I don't see the classes in lib/smrj-app.jar. Where are the sources for those classes?
Finally, I had to do this to build successfully with the current upstream version of jterm: sed -i 's|import jterm|import de.jtem.jterm|' src-ui/de/jreality/ui/viewerapp/BeanShell.java
Thank you!
Re: Sources for 3rd party jars
For the sources of jjack_min.jar and pd.jar we need to ask Peter Brinkmann, I'll let him know. The sources of smrj on sourceforge are outdated, I'll update them soon and post here.
Thanks for packaging jreality for Fedora!
Thanks for packaging jreality for Fedora!
Re: Sources for 3rd party jars
One of my trainee tries to use JReality and to deploy it on several windows machines. However he has a problem with the smrj-client.jar lib. It seems that there is a problem for the creation of the temporary files when jar files are downloaded:
So he fixes the problem by decompiling the smrj-client.jar, modifying the ClientEnvironment.java and recompiling the jar. He modifies the downloadClasses() method by changing the following lines:
It works, but he has very often some "StreamCorruptedExceptions" which it's very annoying. I suppose this problem comes with the decompiling/recompiling.
Is it possible to have the source of the smrj-client.jar soon ?
Thank you very much.
Code: Select all
C:\Documents and Settings\localadmin\Desktop\JReality\LightClient>java -Djreality.config=.\config\cave.center -Xms256M -Xmx512M -Djreality.jogl.quadBufferedStereo=true -jar .\lib\smrj-client.jar tcp 4444
Oct 19, 2011 7:42:35 PM de.smrj.tcp.management.ClientEnvironment doConnect
INFO: connecting to 192.168.81.2:8844 with de.jreality.scene.proxy.smrj.ClientFactory
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createTempFile(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at de.smrj.tcp.management.ClientEnvironment.downloadClasses(ClientEnvironment.java:117)
at de.smrj.tcp.management.ClientEnvironment.doConnect(ClientEnvironment.java:82)
at de.smrj.tcp.management.ClientService.doConnect(ClientService.java:199)
at de.smrj.tcp.management.ClientService.processCommand(ClientService.java:191)
at de.smrj.tcp.management.ClientService.access$100(ClientService.java:53)
at de.smrj.tcp.management.ClientService$SinglecastReceiver.run(ClientService.java:138)
at java.lang.Thread.run(Unknown Source)
Code: Select all
// HUGO FIX BUG '/' is not usable on windows
//File tmpFile = File.createTempFile(cpEntryName.replace(File.separatorChar, '_'), ".jar");
File tmpFile = File.createTempFile(cpEntryName.replace(File.separatorChar, '_').replace('/', '_'), ".jar");
Is it possible to have the source of the smrj-client.jar soon ?
Thank you very much.
Re: Sources for 3rd party jars
I'm still interested in pursuing jReality in Fedora, but I do need the answers to the questions I asked 3 months ago. Have you heard from Peter Brinkmann? Do you have time soon to update the SMRJ sources? Thanks.
Re: Sources for 3rd party jars
I'll forward your request to Steffen, he knows Peter Brinkmann personally and has built the smrj.jar.
Re: Sources for 3rd party jars
I got the smrj-project. Its attached as .zip file
- Attachments
-
- SMRJ.zip
- (59.6 KiB) Downloaded 90 times
Re: Sources for 3rd party jars
Great! Thanks for the SMRJ sources. Do you know anything more about jjack or pd?
Re: Sources for 3rd party jars
I figured out jjack. You are using classes on a subversion branch, named v04-proposal. So I need to package that, instead of version 0.3, which is the last released version. Now if I can just figure out the PD situation, I think we can make some progress.
Re: Sources for 3rd party jars
Steffen was in holidays last week, I'll remember him about PD and jjack-min.jamesjer wrote:Great! Thanks for the SMRJ sources. Do you know anything more about jjack or pd?
Re: Sources for 3rd party jars
Peter just sent me the links to pdlib:
https://www.gitorious.org/pdlib
the jjack_min stuff is a smaller version of jjack an can be found in gitorious aswell:
https://gitorious.org/pdlib/jacknativeclient
Unfortunate these are newer versions of pdlib and jjack_min and they probably aren't compatible with jReality anymore. Peter just started to improve pdlib and will switch it from gitorious to GitHub in the next weeks. Afterwards he'll adapt the changes to jReality. Maybe we should wait until this change appears.
I'll keep you up to date...
best Andre
https://www.gitorious.org/pdlib
the jjack_min stuff is a smaller version of jjack an can be found in gitorious aswell:
https://gitorious.org/pdlib/jacknativeclient
Unfortunate these are newer versions of pdlib and jjack_min and they probably aren't compatible with jReality anymore. Peter just started to improve pdlib and will switch it from gitorious to GitHub in the next weeks. Afterwards he'll adapt the changes to jReality. Maybe we should wait until this change appears.
I'll keep you up to date...
best Andre
Re: Sources for 3rd party jars
Peter just updated jReality with his audio stuff.
the requested libraries (libpd and jacknativeclient are now located at github.
https://github.com/libpd/libpd
https://github.com/nettoyeurny/jacknativeclient
best regards
Andre
the requested libraries (libpd and jacknativeclient are now located at github.
https://github.com/libpd/libpd
https://github.com/nettoyeurny/jacknativeclient
best regards
Andre