Bug 772

Summary: gluegen is doing a wrong assumption in term of path
Product: [JogAmp] Gluegen Reporter: Sylvestre Ledru <sylvestre>
Component: coreAssignee: Sven Gothel <sgothel>
Status: UNCONFIRMED ---    
Severity: major    
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
Workaround: ---
Attachments: Fix the problem

Description Sylvestre Ledru 2013-07-01 16:47:53 CEST
During the build process of JoGL, Gluegen will try to create a directory.
See in make/build.xml
---
    <mkdir dir="${gluegen.root}/${rootrel.build}/test/build/gensrc/classes"/>
    <copy file="${gluegen.root}/src/junit/com/jogamp/common/util/TestFloatStack01.java"
        tofile="${gluegen.root}/${rootrel.build}/test/build/gensrc/classes/com/jogamp/common/util/${pstack.testname}.java" overwrite="true">
---

However, in the context of the distributions, a normal user won't have any write permission on gluegen.root.
This work should be done in a temporary directory.
Comment 1 Sylvestre Ledru 2013-07-01 17:26:46 CEST
Created attachment 487 [details]
Fix the problem

The attached patch fix the issue on my system.