To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63373
                  Issue #:|63373
                  Summary:|Build from source fails with system installed Java
                Component:|framework
                  Version:|OOo 2.0.2
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|tm
              Reported by:|martyj19





------- Additional comments from [EMAIL PROTECTED] Sun Mar 19 07:51:33 -0800 
2006 -------
Build from distributed 2.0.2 source fails with system installed Java.

Diagnosis:

There are three closely spaced problems within the makefile:
        
The guard tests for JDK equal to gcj, rather than for any host Java
system being used.  The correct test is JAVA_HOME not null.
        
An incorrect (undefined) variable is used to locate the xalan classes.
The correct variable is STAR_RESOURCEPATH.
        
The makefile fails to distinguish between setting an environment variable
and setting a makefile variable, so the code that sets the makefile
variable is ineffective in assisting with class resolution.  Change
the makefile to pass the -classpath argument instead.

(In 2.0.0, this failure situation went undetected and caused the
resulting build to throw an exception immediately upon startup.
In 2.0.2 this situation was detected and caused a build failure.)

Solution:

Change guard test, computation of classpath, and Java invocation command.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to