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);
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);