@Override public FatJarAntExporter getAntExporter(IPath antScriptLocation, IPath jarLocation, ILaunchConfiguration launchConfiguration) { return new UnpackFatJarAntExporter(antScriptLocation, jarLocation, launchConfiguration); }
project.appendChild(comment); addBaseDirProperties(document, project); jar.setAttribute("destfile", substituteBaseDirs(absJarname)); //$NON-NLS-1$s jar.setAttribute("filesetmanifest", "mergewithoutmain"); //$NON-NLS-1$ //$NON-NLS-2$ target.appendChild(jar); if (sourceInfo.isJar) { Element zipfileset= document.createElement("zipfileset"); //$NON-NLS-1$ zipfileset.setAttribute("src", substituteBaseDirs(sourceInfo.absPath)); //$NON-NLS-1$ zipfileset.setAttribute("excludes", "META-INF/*.SF"); //$NON-NLS-1$ //$NON-NLS-2$ jar.appendChild(zipfileset); } else { Element fileset= document.createElement("fileset"); //$NON-NLS-1$ fileset.setAttribute("dir", substituteBaseDirs(sourceInfo.absPath)); //$NON-NLS-1$ jar.appendChild(fileset);
project.appendChild(comment); addBaseDirProperties(document, project); jar.setAttribute("destfile", substituteBaseDirs(absJarname)); //$NON-NLS-1$s jar.setAttribute("filesetmanifest", "mergewithoutmain"); //$NON-NLS-1$ //$NON-NLS-2$ target.appendChild(jar); if (sourceInfo.isJar) { Element zipfileset= document.createElement("zipfileset"); //$NON-NLS-1$ zipfileset.setAttribute("src", substituteBaseDirs(sourceInfo.absPath)); //$NON-NLS-1$ zipfileset.setAttribute("excludes", "META-INF/*.SF"); //$NON-NLS-1$ //$NON-NLS-2$ jar.appendChild(zipfileset); } else { Element fileset= document.createElement("fileset"); //$NON-NLS-1$ fileset.setAttribute("dir", substituteBaseDirs(sourceInfo.absPath)); //$NON-NLS-1$ jar.appendChild(fileset);
@Override public FatJarAntExporter getAntExporter(IPath antScriptLocation, IPath jarLocation, ILaunchConfiguration launchConfiguration) { return new UnpackFatJarAntExporter(antScriptLocation, jarLocation, launchConfiguration); }
@Override public FatJarAntExporter getAntExporter(IPath antScriptLocation, IPath jarLocation, ILaunchConfiguration launchConfiguration) { return new UnpackFatJarAntExporter(antScriptLocation, jarLocation, launchConfiguration); }