[izpack-users] Build error when including Chmod*Listener.java
Klaus Bartz
bartzkau at gmx.net
Thu Jan 5 23:18:36 CET 2006
Hi,
you should call the ant task from $INSTALL_DIR/src.
The sources of ChmodCompilerListener etc. should be placed beside the
regular sources; means if your $INSTALL_DIR is /tmp/IzPack, ther should
exist
/tmp/IzPack/src/lib/com/myCompany/tools/install/listener/ChmodCompilerListener.java
/tmp/IzPack/src/lib/com/izforge/izpack/event/SimpleCompilerListener
and so on...
In ChmodInstallerListener.java one import is missing:
import com.izforge.izpack.util.OsVersion;
Cheers
Klaus
Am 05.01.2006, 16:37 Uhr, schrieb Friend <follow_from at yahoo.co.uk>:
> Hi Friends,
> 1.Trying Custom Action of Klaus.
> 2.Trying to use the ChmodInstallerListener with the help of
> izpack-doc.pdf for my issue with changing the permission of a script
> file in my installation to have it run during postinstall time
> am getting the error like this when building the izpack new,,
> eventhough the respective files are there in place,,
> help me plese,
> [javac] Compiling 1 source file to
> <installdir>/IzPack/bin/customActions/ChmodCompilerListener
> [javac]
> <installdir>/IzPack/src/lib/com/myCompany/tools/install/listener/ChmodCompilerListener.java:30:
> cannot find symbol
> [javac] symbol : class SimpleCompilerListener
> [javac] location: package com.izforge.izpack.event
> [javac] import com.izforge.izpack.event.SimpleCompilerListener;
> [javac] ^
> [javac]
> <installdir>/IzPack/src/lib/com/myCompany/tools/install/listener/ChmodCompilerListener.java:39:
> cannot find symbol
> [javac] symbol: class SimpleCompilerListener
> [javac] public class ChmodCompilerListener extends SimpleCompilerListener
> [javac] ^
> [javac] 2 errors
> BUILD FAILED
> <installdir>/IzPack/src/build.xml:771: The following error occurred
> while executing this line:
> <installdir>/IzPack/src/build.xml:688: The following error occurred
> while executing this line:
> <installdir>/IzPack/src/build.xml:667: Compile failed; see the compiler
> error output for details.
> regards,
> Se.
>
>
> ---------------------------------
> To help you stay safe and secure online, we've developed the all new
> Yahoo! Security Centre.
More information about the izpack-users
mailing list