@Override public FatJarAntExporter getAntExporter(IPath antScriptLocation, IPath jarLocation, ILaunchConfiguration launchConfiguration) { return new UnpackJarAntExporter(antScriptLocation, jarLocation, launchConfiguration); }
project.appendChild(comment); document.appendChild(project); addBaseDirProperties(document, project); jar.setAttribute("destfile", substituteBaseDirs(absJarname)); //$NON-NLS-1$s target.appendChild(jar); if (!sourceInfo.isJar) { Element fileset= document.createElement("fileset"); //$NON-NLS-1$ fileset.setAttribute("dir", substituteBaseDirs(sourceInfo.absPath)); //$NON-NLS-1$ jar.appendChild(fileset); delete.setAttribute("dir", substituteBaseDirs(absSubfolder)); //$NON-NLS-1$s target.appendChild(delete); mkdir.setAttribute("dir", substituteBaseDirs(absSubfolder)); //$NON-NLS-1$s target.appendChild(mkdir); if (sourceInfo.isJar) { Element copy= document.createElement("copy"); //$NON-NLS-1$ copy.setAttribute("file", substituteBaseDirs(sourceInfo.absPath)); //$NON-NLS-1$ copy.setAttribute("todir", substituteBaseDirs(absSubfolder)); //$NON-NLS-1$ target.appendChild(copy);
project.appendChild(comment); document.appendChild(project); addBaseDirProperties(document, project); jar.setAttribute("destfile", substituteBaseDirs(absJarname)); //$NON-NLS-1$s target.appendChild(jar); if (!sourceInfo.isJar) { Element fileset= document.createElement("fileset"); //$NON-NLS-1$ fileset.setAttribute("dir", substituteBaseDirs(sourceInfo.absPath)); //$NON-NLS-1$ jar.appendChild(fileset); delete.setAttribute("dir", substituteBaseDirs(absSubfolder)); //$NON-NLS-1$s target.appendChild(delete); mkdir.setAttribute("dir", substituteBaseDirs(absSubfolder)); //$NON-NLS-1$s target.appendChild(mkdir); if (sourceInfo.isJar) { Element copy= document.createElement("copy"); //$NON-NLS-1$ copy.setAttribute("file", substituteBaseDirs(sourceInfo.absPath)); //$NON-NLS-1$ copy.setAttribute("todir", substituteBaseDirs(absSubfolder)); //$NON-NLS-1$ target.appendChild(copy);
@Override public FatJarAntExporter getAntExporter(IPath antScriptLocation, IPath jarLocation, ILaunchConfiguration launchConfiguration) { return new UnpackJarAntExporter(antScriptLocation, jarLocation, launchConfiguration); }
@Override public FatJarAntExporter getAntExporter(IPath antScriptLocation, IPath jarLocation, ILaunchConfiguration launchConfiguration) { return new UnpackJarAntExporter(antScriptLocation, jarLocation, launchConfiguration); }