IzPack Support: Jar files and TAR approach -


i working on bundling product distribution. uses xml standards, json, jquery, html, javascript, , contains multiple servers. not pure-java application. not have main classes. when tried create jar files, couldn't open them. got error message there no main class jar file. work around, exporting tar file instead. there better approach?

furthermore, using ant script run installation file. using:

<target name="install" depends="tarchmodcompilerlistener">     <izpack input="install.xml"             output="izpack-install.jar"             installertype="standard"             basedir="${basedir}"             izpackdir="${izpackdir}" /> </target> 

when try run ant program, doesn't recognize izpack tag (i got block of code izpack wiki). think need jar file recognize this, not know 1 or find it. how can build.xml run block of code?

i working in mac environment. using eclipse , shell scripting. wanted use izpack because it's installation programs work exporting windows, linux, or mac. there different program should use?

you must include taskdef tag in ant able use izpack tag.

it should this:

<!-- izpack dependancies --> <path id="build.classpath">     <fileset dir="${path.to.izpack.installation.folder}/izpack">         <include name="lib/*.jar" />     </fileset> </path>  <taskdef name="izpack" classpathref="build.classpath" classname="com.izforge.izpack.ant.izpacktask" /> 

now should able recognize izpack tag.

cheers!


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -