Bug 772 - gluegen is doing a wrong assumption in term of path
Summary: gluegen is doing a wrong assumption in term of path
Alias: None
Product: Gluegen
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- major
Assignee: Sven Gothel
Depends on:
Reported: 2013-07-01 16:47 CEST by Sylvestre Ledru
Modified: 2013-07-01 17:26 CEST (History)
0 users

See Also:
Type: ---
SCM Refs:
Workaround: ---

Fix the problem (1.38 KB, patch)
2013-07-01 17:26 CEST, Sylvestre Ledru
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.