|Issue 343:||Permissions wrong for Linux version of processing 1.2.1|
|3 people starred this issue and may be notified of changes.||Back to list|
If this is is a problem with the reference or website, please explain the errors clearly and select the appropriate Component in the interface below. If it's a problem with the Processing Core and Android software, please answer the following: What steps will reproduce the problem? 1. extract processing tarball 2. attempt to run processing script What is the expected output? What do you see instead? I expect the processing script to run. It does not. Once you chmod +x the script it runs but then the included java binary does not run. Once you chmod +x everything in the /java/bin/ directory processing runs. What version of the product are you using? On what operating system? 1.2.1 ubuntu 10.4 Please provide any additional information below.
Aug 6, 2010
Yeah, it's an unfortunate side-effect of Ant not supporting permissions: http://ant.apache.org/manual/platform.html Will make a fix to just use the native version of tar.
Summary: Permissions wrong for Linux version of processing 1.2.1
Labels: -Priority-Medium Priority-Critical
Aug 6, 2010
Or just add a README. It was kind of hokey but not really a show stopper.
Aug 7, 2010
Nah, it needs to be fixed. You might say that it's literally a showstopper if it prevents the software from ever starting. ;)
Aug 9, 2010
I agree with comment 3. This issue should not affect experienced linux/java users. However processing has a niche at the beginner end of the market, also this issue is causing a lot of noise on the discourse boards. There is a lot of unnecessary downloading of sun jdk going on, that makes the inclusion of the jdk kind of pointless. The advanced user doesn't need it, beginners are ignoring it or can't use it. My theory is they try run the processing script, that doesn't work, so not unreasonably they try to run java. What happens next shapes what they do:- 1: no java, they install jdk (possibly openjdk 'cos that's what the distro offers) 2: they detect an openjdk, (it alerts them that they have the wrong java) they install jdk from sun
Aug 18, 2010
Please consider updating the "Known Issues" section of the wiki's Troubleshooting page with this problem, until it is fixed. It took me a while to find this solution (namely chmod -R +x java/bin/) and the "Troubleshooting" link on the download page was the first place I went for help.
Aug 18, 2010
More useful would be if someone who feels strongly about this were to figure out the proper parameters to the tar command so that I can change the current build.xml commands to use <exec> to start tar instead of using ant's built-in tar.
Aug 19, 2010
Is the following any use? Where processing is the directory to tar 'a' sets the compression type as given name, p preserves permissions (v is be verbose) tar -acpvf processing.tar.gz processing
Aug 26, 2010
<exec executable="tar"> <arg value="-C" /> <arg value="linux" /> <arg value="-czpvf" /> <arg value="processing.tgz"/> <arg value="work"/> </exec> Revised version you should be able to substitute a named value for processing.tgz
Aug 27, 2010
thanks, that seems to work--how about for the untar?
Aug 28, 2010
Here is my test build file that worked for me:- <?xml version="1.0"?> <project name="Extract JDK" default="Extract"> <target name="Extract" description="Run Linux version"> <exec executable="tar"> <arg value="-C" /> <!-- Change directory --> <arg value="linux/work" /> <arg value="-xzpvf" /> <arg value="linux/jre.tgz"/> </exec> </target> </project>
Aug 29, 2010
some additional hacking and i think we're all set for the next release.
|► Sign in to add a comment|