[GE users] SGE 6.2U5 compilation on Linux 64 bit machine: Izpack home in build.properties

petrik lubomir.petrik at sun.com
Thu Jan 28 07:43:37 GMT 2010


Ok, since there seems to be still some difficulties, below are exact instructions to compile the GUI installer. Let me know if there are still issues.


To compile the GUI installer you need few additional things besides Grid Engine sources. These include:

 1.  Izpack 4.1.1<http://dist.codehaus.org/izpack/releases/4.1.1/IzPack-install-4.1.1.jar> - project page at http://izpack.org
 2.  swing-layout-1.0.3.jar<https://swing-layout.dev.java.net/files/documents/2752/70790/swing-layout-1.0.3.jar> library (delivered also with Netbeans) - project page at https://swing-layout.dev.java.net
 3.  Java 1.5 or later
 4.  Ant 1.6.5 or later

Suppose you checkout Grid Engine project to for example /gridengine location. Next install the Izpack 4.1.1 with 'java -jar IzPack-install-4.1.1.jar' command to e.g. /usr/local/gui-installer/IzPack as your ${IZPACK.HOME} location. Now copy the swing-layout-1.0.3.jar to ${IZPACK.HOME}/.. directory or adjust the libs.swing-layout.classpath value in /gridengine/source/build.properties, alternatively redefine the value it in /gridengine/source/build_private.properties to the correct path for the swing-layout library.

Once you've done that, go to the /gridengine/source directory and call aimk -only-gui-inst. GUI installer compilation should now work like a charm.

Have fun,
   Lubos.

ppk wrote:

Thanks Lubos.  As you said it may be because of some path
adjustment issue.  I am copying all the errors I got because
I don't know which one will assist you in helping us.

Prakashan



export JAVA_HOME=/home/ppk/JDK-ANT/jdk1.6.0_17
export ANT_HOME=/home/ppk/JDK-ANT/apache-ant-1.8.0RC1
export
PATH=$ANT_HOME/bin:$JAVA_HOME/bin:/home/ppk/JDK-ANT/javacc-5.0/bin:$PATH

Relevant conent in build.properties

izpack.home=/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack

First Error I got when I did ./aimk

-----------------------------------------------------------------------------------------------------------------------------------------------
build.izpack:
      [echo] IzPack is not yet built. Building now...
     [touch] Creating
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/building.tmp



BUILD FAILED
/home/ppk/SGE62U5/gridengine/source/build.xml:100: The
following error occurred while executing this line:
/home/ppk/SGE62U5/gridengine/source/clients/gui-installer/build.xml:57:
The following error occurred while executing this line:
/home/ppk/SGE62U5/gridengine/source/clients/gui-installer/build.xml:78:
The following error occurred while executing this line:
/home/ppk/SGE62U5/gridengine/source/clients/gui-installer/build.xml:63:
The following error occurred while executing this line:
java.io.FileNotFoundException:
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/build.xml
(No such file or directory)

--------------------------------------------------------------------------------------------------------------------------------------------
At this stage I did

cd 3rdparty/
  mv IzPack IzPack-from-gridengine

svn checkout
http://svn.codehaus.org/izpack/izpack-src/branches/4.1 IzPack

---------------------------------------------------------------------------------------------------------------------------------------------
./aimk  -only-gui-inst

build.izpack:
      [echo] Building prerequsities from
source/3rdparty/IzPack/src/lib ...
     [javac] Compiling 279 source files to
/home/ppk/SGE62U5/gridengine/source/clients/gui-installer/build/classes
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/ConfigHolder.java:26:
package org.apache.tools.ant does not exist
     [javac] import org.apache.tools.ant.BuildException;
     [javac]                            ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/ConfigHolder.java:27:
package org.apache.tools.ant does not exist
     [javac] import org.apache.tools.ant.Project;
     [javac]                            ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/ConfigHolder.java:44:
cannot find symbol
     [javac] symbol  : class Project
     [javac] location: class com.izforge.izpack.ant.ConfigHolder
     [javac]     private Project project;
     [javac]             ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/ConfigHolder.java:69:
cannot find symbol
     [javac] symbol  : class BuildException
     [javac] location: class com.izforge.izpack.ant.ConfigHolder
     [javac]             throws BuildException
     [javac]                    ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/ConfigHolder.java:135:
cannot find symbol
     [javac] symbol  : class Project
     [javac] location: class com.izforge.izpack.ant.ConfigHolder
     [javac]     ConfigHolder(Project project)
     [javac]                  ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:28:
package org.apache.tools.ant does not exist
     [javac] import org.apache.tools.ant.BuildException;
     [javac]                            ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:29:
package org.apache.tools.ant does not exist
     [javac] import org.apache.tools.ant.Project;
     [javac]                            ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:30:
package org.apache.tools.ant does not exist
     [javac] import org.apache.tools.ant.Task;
     [javac]                            ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:31:
package org.apache.tools.ant.types does not exist
     [javac] import
org.apache.tools.ant.types.EnumeratedAttribute;
     [javac]                                  ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:32:
package org.apache.tools.ant.types does not exist
     [javac] import org.apache.tools.ant.types.PropertySet;
     [javac]                                  ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:44:
cannot find symbol
     [javac] symbol: class Task
     [javac] public class IzPackTask extends Task implements
PackagerListener
     [javac]                                 ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:418:
cannot find symbol
     [javac] symbol  : class EnumeratedAttribute
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]     public static class InstallerType extends
EnumeratedAttribute
     [javac]                                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:188:
package org.apache.tools.ant does not exist
     [javac]     public void execute() throws
org.apache.tools.ant.BuildException
     [javac]
       ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/Property.java:24:
package org.apache.tools.ant does not exist
     [javac] import org.apache.tools.ant.Project;
     [javac]                            ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/Property.java:34:
package org.apache.tools.ant.taskdefs does not exist
     [javac] public class Property extends
org.apache.tools.ant.taskdefs.Property
     [javac]
             ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:403:
cannot find symbol
     [javac] symbol  : class PropertySet
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]     public void
addConfiguredPropertyset(PropertySet ps)
     [javac]                                          ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/CompilerConfig.java:40:
package org.apache.tools.ant does not exist
     [javac] import org.apache.tools.ant.DirectoryScanner;
     [javac]                            ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/util/JarOutputStream.java:52:
package org.apache.tools.zip does not exist
     [javac] public class JarOutputStream extends
org.apache.tools.zip.ZipOutputStream
     [javac]
           ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:492:
package org.apache.tools.zip does not exist
     [javac]     private void copyZip(ZipInputStream zin,
org.apache.tools.zip.ZipOutputStream out) throws IOException
     [javac]
                   ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:504:
package org.apache.tools.zip does not exist
     [javac]     private void copyZip(ZipInputStream zin,
org.apache.tools.zip.ZipOutputStream out,
     [javac]
                   ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/util/JarOutputStream.java:122:
package org.apache.tools.zip does not exist
     [javac]     public void
putNextEntry(org.apache.tools.zip.ZipEntry ze) throws
IOException
     [javac]                                                  ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Property.java:26:
package org.apache.tools.ant.taskdefs does not exist
     [javac] import org.apache.tools.ant.taskdefs.Execute;
     [javac]                                     ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/event/AntAction.java:25:
package org.apache.tools.ant does not exist
     [javac] import org.apache.tools.ant.*;
     [javac] ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/event/AntAction.java:26:
package org.apache.tools.ant.input does not exist
     [javac] import
org.apache.tools.ant.input.DefaultInputHandler;
     [javac]                                  ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/event/AntAction.java:27:
package org.apache.tools.ant.taskdefs does not exist
     [javac] import org.apache.tools.ant.taskdefs.Ant;
     [javac]                                     ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/event/AntAction.java:28:
package org.apache.tools.ant.util does not exist
     [javac] import org.apache.tools.ant.util.JavaEnvUtils;
     [javac]                                 ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/event/AntAction.java:390:
cannot find symbol
     [javac] symbol  : class BuildLogger
     [javac] location: class com.izforge.izpack.event.AntAction
     [javac]     private BuildLogger createLogger()
     [javac]             ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/event/AntAction.java:426:
cannot find symbol
     [javac] symbol  : class Project
     [javac] location: class com.izforge.izpack.event.AntAction
     [javac]     private void addProperties(Project proj,
Properties props)
     [javac]                                ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/event/AntAction.java:444:
cannot find symbol
     [javac] symbol  : class Project
     [javac] location: class com.izforge.izpack.event.AntAction
     [javac]     private void
addPropertiesFromPropertyFiles(Project proj) throws Exception
     [javac]                                                 ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/installer/UnpackerBase.java:33:
package org.apache.regexp does not exist
     [javac] import org.apache.regexp.RE;
     [javac]                         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/installer/UnpackerBase.java:34:
package org.apache.regexp does not exist
     [javac] import org.apache.regexp.RECompiler;
     [javac]                         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/installer/UnpackerBase.java:35:
package org.apache.regexp does not exist
     [javac] import org.apache.regexp.RESyntaxException;
     [javac]                         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/installer/UnpackerBase.java:308:
cannot find symbol
     [javac] symbol  : class RE
     [javac] location: class
com.izforge.izpack.installer.UnpackerBase
     [javac]     private boolean
fileMatchesOnePattern(String filename, ArrayList<RE> patterns)
     [javac]
                       ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/installer/UnpackerBase.java:327:
cannot find symbol
     [javac] symbol  : class RECompiler
     [javac] location: class
com.izforge.izpack.installer.UnpackerBase
     [javac]     private List<RE>
preparePatterns(ArrayList<String> list, RECompiler recompiler)
     [javac]
               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/installer/UnpackerBase.java:327:
cannot find symbol
     [javac] symbol  : class RE
     [javac] location: class
com.izforge.izpack.installer.UnpackerBase
     [javac]     private List<RE>
preparePatterns(ArrayList<String> list, RECompiler recompiler)
     [javac]                  ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/panels/RuleInputField.java:27:
package org.apache.regexp does not exist
     [javac] import org.apache.regexp.RE;
     [javac]                         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/util/PasswordEncryptionValidator.java:26:
warning: sun.misc.BASE64Encoder is Sun proprietary API and
may be removed in a future release
     [javac] import sun.misc.BASE64Encoder;
     [javac]                ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/LocaleDatabase.java:237:
warning: non-varargs call of varargs method with inexact
argument type for last parameter;
     [javac] cast to java.lang.Object for a varargs call
     [javac] cast to java.lang.Object[] for a non-varargs
call and to suppress this warning
     [javac]         return
MessageFormat.format(getString(key), variables);
     [javac]
      ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/ConfigHolder.java:119:
cannot find symbol
     [javac] symbol  : class BuildException
     [javac] location: class com.izforge.izpack.ant.ConfigHolder
     [javac]                     throw new
BuildException("Syntax error in property: " + value);
     [javac]                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/ConfigHolder.java:176:
cannot find symbol
     [javac] symbol  : variable Project
     [javac] location: class com.izforge.izpack.ant.ConfigHolder
     [javac]                             Project.MSG_VERBOSE);
     [javac]                             ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:118:
cannot find symbol
     [javac] symbol  : method getProject()
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]         config = new ConfigHolder(getProject());
     [javac]                                   ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:145:
cannot find symbol
     [javac] symbol  : variable Project
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]                 antPriority = Project.MSG_DEBUG;
     [javac]                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:148:
cannot find symbol
     [javac] symbol  : variable Project
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]                 antPriority = Project.MSG_ERR;
     [javac]                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:151:
cannot find symbol
     [javac] symbol  : variable Project
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]                 antPriority = Project.MSG_INFO;
     [javac]                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:154:
cannot find symbol
     [javac] symbol  : variable Project
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]                 antPriority = Project.MSG_VERBOSE;
     [javac]                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:157:
cannot find symbol
     [javac] symbol  : variable Project
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]                 antPriority = Project.MSG_WARN;
     [javac]                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:160:
cannot find symbol
     [javac] symbol  : variable Project
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]                 antPriority = Project.MSG_INFO;
     [javac]                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:162:
cannot find symbol
     [javac] symbol  : method log(java.lang.String,int)
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]         log(str, antPriority);
     [javac]         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:171:
cannot find symbol
     [javac] symbol  : variable Project
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]                 "Packager_starting"),
Project.MSG_DEBUG);
     [javac]                                       ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:180:
cannot find symbol
     [javac] symbol  : variable Project
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]                 "Packager_ended"),
Project.MSG_DEBUG);
     [javac]                                    ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:193:
cannot find symbol
     [javac] symbol  : class BuildException
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]             throw new
BuildException(ResourceBundle.getBundle(
     [javac]                       ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:200:
cannot find symbol
     [javac] symbol  : class BuildException
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]             throw new
BuildException(ResourceBundle.getBundle(
     [javac]                       ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:209:
cannot find symbol
     [javac] symbol  : class BuildException
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]             throw new
BuildException(ResourceBundle.getBundle(
     [javac]                       ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:218:
operator == cannot be applied to
com.izforge.izpack.ant.IzPackTask.InstallerType,<nulltype>
     [javac]         String kind = (installerType == null ?
null : installerType.getValue());
     [javac]                                      ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:218:
cannot find symbol
     [javac] symbol  : method getValue()
     [javac] location: class
com.izforge.izpack.ant.IzPackTask.InstallerType
     [javac]         String kind = (installerType == null ?
null : installerType.getValue());
     [javac]
                     ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:230:
cannot find symbol
     [javac] symbol  : constructor
CompilerConfig(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,int,com.izforge.izpack.ant.IzPackTask,java.lang.String)
     [javac] location: class
com.izforge.izpack.compiler.CompilerConfig
     [javac]             c = new CompilerConfig(input,
basedir, kind, output,
     [javac]                 ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:235:
cannot find symbol
     [javac] symbol  : class BuildException
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]             throw new BuildException(e1);
     [javac]                       ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:253:
cannot find symbol
     [javac] symbol  : method getProject()
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]             Hashtable projectProps =
getProject().getProperties();
     [javac]                                      ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:270:
cannot find symbol
     [javac] symbol  : class BuildException
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]             throw new BuildException(e);//
Throw an exception if compilation
     [javac]                       ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:383:
cannot find symbol
     [javac] symbol  : method execute()
     [javac] location: class com.izforge.izpack.ant.Property
     [javac]         property.execute(); // don't call
perform(), so no build events triggered
     [javac]                 ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:391:
cannot find symbol
     [javac] symbol  : method getClass()
     [javac] location: class com.izforge.izpack.ant.Property
     [javac]             log("Adding property: " +
property.getClass() + name + "=" + value,
     [javac]                                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/IzPackTask.java:392:
cannot find symbol
     [javac] symbol  : variable Project
     [javac] location: class com.izforge.izpack.ant.IzPackTask
     [javac]                     Project.MSG_VERBOSE);
     [javac]                     ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/ant/Property.java:68:
cannot find symbol
     [javac] symbol  : variable Project
     [javac] location: class com.izforge.izpack.ant.Property
     [javac]             log("Override ignored for " + n,
Project.MSG_VERBOSE);
     [javac]                                              ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/CompilerConfig.java:927:
cannot find symbol
     [javac] symbol  : class DirectoryScanner
     [javac] location: class
com.izforge.izpack.compiler.CompilerConfig
     [javac]                 DirectoryScanner ds = new
DirectoryScanner();
     [javac]                 ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/CompilerConfig.java:927:
cannot find symbol
     [javac] symbol  : class DirectoryScanner
     [javac] location: class
com.izforge.izpack.compiler.CompilerConfig
     [javac]                 DirectoryScanner ds = new
DirectoryScanner();
     [javac]                                           ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/MultiVolumePackager.java:274:
package org.apache.tools.zip does not exist
     [javac]             org.apache.tools.zip.ZipEntry
newEntry = new org.apache.tools.zip.ZipEntry(name);
     [javac]                                 ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/MultiVolumePackager.java:274:
package org.apache.tools.zip does not exist
     [javac]             org.apache.tools.zip.ZipEntry
newEntry = new org.apache.tools.zip.ZipEntry(name);
     [javac]
                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:156:
package org.apache.tools.zip does not exist
     [javac]         primaryJarStream.putNextEntry(new
org.apache.tools.zip.ZipEntry(entryName));
     [javac]
                ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:157:
cannot find symbol
     [javac] symbol  : constructor
ObjectOutputStream(com.izforge.izpack.util.JarOutputStream)
     [javac] location: class java.io.ObjectOutputStream
     [javac]         ObjectOutputStream out = new
ObjectOutputStream(primaryJarStream);
     [javac]                                  ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:160:
cannot find symbol
     [javac] symbol  : method closeEntry()
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]         primaryJarStream.closeEntry();
     [javac]                         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:176:
package org.apache.tools.zip does not exist
     [javac]             org.apache.tools.zip.ZipEntry
newEntry = new org.apache.tools.zip.ZipEntry(name);
     [javac]                                 ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:176:
package org.apache.tools.zip does not exist
     [javac]             org.apache.tools.zip.ZipEntry
newEntry = new org.apache.tools.zip.ZipEntry(name);
     [javac]
                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:184:
copyStream(java.io.InputStream,java.io.OutputStream) in
com.izforge.izpack.compiler.PackagerHelper cannot be applied
to (java.io.InputStream,com.izforge.izpack.util.JarOutputStream)
     [javac]             PackagerHelper.copyStream(in,
primaryJarStream);
     [javac]                           ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:185:
cannot find symbol
     [javac] symbol  : method closeEntry()
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]             primaryJarStream.closeEntry();
     [javac]                             ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:223:
cannot find symbol
     [javac] symbol  : method setEncoding(java.lang.String)
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]         primaryJarStream.setEncoding("utf-8");
     [javac]                         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:251:
incompatible types
     [javac] found   : com.izforge.izpack.util.JarOutputStream
     [javac] required: java.io.OutputStream
     [javac]             OutputStream comprStream = packStream;
     [javac]                                        ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:256:
package org.apache.tools.zip does not exist
     [javac]             org.apache.tools.zip.ZipEntry entry
= new org.apache.tools.zip.ZipEntry("packs/pack-" + pack.id);
     [javac]                                 ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:256:
package org.apache.tools.zip does not exist
     [javac]             org.apache.tools.zip.ZipEntry entry
= new org.apache.tools.zip.ZipEntry("packs/pack-" + pack.id);
     [javac]
                            ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:264:
cannot find symbol
     [javac] symbol  : method flush()
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]                 packStream.flush(); // flush
before we start counting
     [javac]                           ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:265:
getOutputStream(java.io.OutputStream) in
com.izforge.izpack.compressor.PackCompressor cannot be
applied to (com.izforge.izpack.util.JarOutputStream)
     [javac]                 comprStream =
compressor.getOutputStream(packStream);
     [javac]                                         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:272:
cannot find symbol
     [javac] symbol  : method setLevel(int)
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]                     packStream.setLevel(level);
     [javac]                               ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:275:
cannot find symbol
     [javac] symbol  : method flush()
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]                 packStream.flush(); // flush
before we start counting
     [javac]                           ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:376:
cannot find symbol
     [javac] symbol  : method closeEntry()
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]             packStream.closeEntry();
     [javac]                       ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:406:
package org.apache.tools.zip does not exist
     [javac]         primaryJarStream.putNextEntry(new
org.apache.tools.zip.ZipEntry("packs.info"));
     [javac]
                ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:407:
cannot find symbol
     [javac] symbol  : constructor
ObjectOutputStream(com.izforge.izpack.util.JarOutputStream)
     [javac] location: class java.io.ObjectOutputStream
     [javac]         ObjectOutputStream out = new
ObjectOutputStream(primaryJarStream);
     [javac]                                  ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:417:
cannot find symbol
     [javac] symbol  : method closeEntry()
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]         primaryJarStream.closeEntry();
     [javac]                         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:424:
package org.apache.tools.zip does not exist
     [javac]             primaryJarStream.putNextEntry(new
org.apache.tools.zip.ZipEntry("packs/pack200-" + key));
     [javac]
                    ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:426:
cannot find symbol
     [javac] symbol  : method
pack(java.util.jar.JarFile,com.izforge.izpack.util.JarOutputStream)
     [javac] location: interface java.util.jar.Pack200.Packer
     [javac]             packer.pack(jar, primaryJarStream);
     [javac]                   ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:428:
cannot find symbol
     [javac] symbol  : method closeEntry()
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]             primaryJarStream.closeEntry();
     [javac]                             ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:478:
cannot find symbol
     [javac] symbol  : method setLevel(int)
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]         jar.setLevel(Deflater.BEST_COMPRESSION);
     [javac]            ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:544:
package org.apache.tools.zip does not exist
     [javac]                 org.apache.tools.zip.ZipEntry
newEntry = new org.apache.tools.zip.ZipEntry(currentName);
     [javac]                                     ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Packager.java:544:
package org.apache.tools.zip does not exist
     [javac]                 org.apache.tools.zip.ZipEntry
newEntry = new org.apache.tools.zip.ZipEntry(currentName);
     [javac]
                                   ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/util/JarOutputStream.java:90:
package org.apache.tools.zip does not exist
     [javac]         org.apache.tools.zip.ZipEntry e =
     [javac]                             ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/util/JarOutputStream.java:91:
package org.apache.tools.zip does not exist
     [javac]                 new
org.apache.tools.zip.ZipEntry(JarFile.MANIFEST_NAME);
     [javac]                                         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/util/JarOutputStream.java:93:
cannot find symbol
     [javac] symbol  : constructor
BufferedOutputStream(com.izforge.izpack.util.JarOutputStream)
     [javac] location: class java.io.BufferedOutputStream
     [javac]         man.write(new BufferedOutputStream(this));
     [javac]                   ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/util/JarOutputStream.java:94:
cannot find symbol
     [javac] symbol  : method closeEntry()
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]         closeEntry();
     [javac]         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/util/JarOutputStream.java:145:
cannot find symbol
     [javac] symbol  : variable super
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]         super.putNextEntry(ze);
     [javac]         ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/util/JarOutputStream.java:185:
cannot find symbol
     [javac] symbol  : variable super
     [javac] location: class
com.izforge.izpack.util.JarOutputStream
     [javac]             super.close();
     [javac]             ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/compiler/Property.java:244:
cannot find symbol
     [javac] symbol  : variable Execute
     [javac] location: class
com.izforge.izpack.compiler.Property
     [javac]         Vector osEnv =
Execute.getProcEnvironment();
     [javac]                        ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/event/AntAction.java:124:
cannot find symbol
     [javac] symbol  : variable JavaEnvUtils
     [javac] location: class com.izforge.izpack.event.AntAction
     [javac]         if (!JavaEnvUtils.isJavaVersion("1.0")
&& !JavaEnvUtils.isJavaVersion("1.1"))
     [javac]              ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/event/AntAction.java:124:
cannot find symbol
     [javac] symbol  : variable JavaEnvUtils
     [javac] location: class com.izforge.izpack.event.AntAction
     [javac]         if (!JavaEnvUtils.isJavaVersion("1.0")
&& !JavaEnvUtils.isJavaVersion("1.1"))
     [javac]
     ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/event/AntAction.java:132:
cannot find symbol
     [javac] symbol  : class Project
     [javac] location: class com.izforge.izpack.event.AntAction
     [javac]             Project antProj = new Project();
     [javac]             ^
     [javac]
/home/ppk/SGE62U5/gridengine/source/3rdparty/IzPack/src/lib/com/izforge/izpack/util/PasswordEncryptionValidator.java:121:
warning: sun.misc.BASE64Encoder is Sun proprietary API and
may be removed in a future release
     [javac]             result = (new
BASE64Encoder()).encode(cryptedbytes);
     [javac]                           ^
     [javac] Note: Some input files use or override a
deprecated API.
     [javac] Note: Recompile with -Xlint:deprecation for
details.
     [javac] Note: Some input files use unchecked or unsafe
operations.
     [javac] Note: Recompile with -Xlint:unchecked for details.
     [javac] 100 errors
     [javac] 3 warnings

BUILD FAILED
/home/ppk/SGE62U5/gridengine/source/clients/gui-installer/build.xml:57:
The following error occurred while executing this line:
/home/ppk/SGE62U5/gridengine/source/clients/gui-installer/build.xml:98:
Compile failed; see the compiler error output for details.











petrik wrote:


Hi everyone,
I believe there is aimk -no-gui-inst to do exactly that. What were the
errors then you called aimk -only-gui-inst? Netbeans should not be
necessary. Maybe you need to adjust some path in the properties files?

And yes, you need to download izpack 4.1.1 from the izpack.org and point
the izpack.home there, if you want to get it compiled.

Regards,
   Lubos.

ppk wrote:


My colleague, Kejian and I played with it little bit.
Finally, we ended up downloading Izpack 4.1.1 from their
website.  Still had trouble getting it compiled.  We had to
run it through JAVA netbean to get compiled.  For some
reason I believe this is not the right procedure as SGE
developers won't make it this hard for anyone to compile it.
  Yes, a little simpler description would be nice. Or at
least simple option to tell aimk not to worry about IzPack
will make it easier too. That is my update.

Prakashan



dougalb wrote:



If any of the s(ge) devs are able to share this info, I would also be
interested. Been doing builds on GE since 6.2u3 and have to use
-no-gui-inst now...

On Fri, Jan 22, 2010 at 12:50 AM, ppk <ppk at ats.ucla.edu><mailto:ppk at ats.ucla.edu> wrote:



How does a typical build.properties file look for izpack
home?  I thought I could get away with something like this.
 Apparently not.  Thanks.

Prakashan

#izpack.home=/off_home/gridengine/gui-installer/IzPack
izpack.home=/home/ppk/SGE6.2U5/gridengine/source/3rdparty/IzPack

Error:

/home/ppk/SGE6.2U5/gridengine/source/clients/gui-installer/build.xml:63:
The following error occurred while executing this line:
java.io.FileNotFoundException:
/home/ppk/SGE6.2U5/gridengine/source/3rdparty/IzPack/src/build.xml
(No such file or directory)

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=240253

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net<mailto:users-unsubscribe at gridengine.sunsource.net>].




------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=240916

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net<mailto:users-unsubscribe at gridengine.sunsource.net>].



------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=240935

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net<mailto:users-unsubscribe at gridengine.sunsource.net>].



------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=241290

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net<mailto:users-unsubscribe at gridengine.sunsource.net>].



------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=241325

To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net<mailto:users-unsubscribe at gridengine.sunsource.net>].




More information about the gridengine-users mailing list