mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
generated Ant for artifacts without output path is fixed
This commit is contained in:
@@ -22,6 +22,7 @@ import com.intellij.compiler.ant.Generator;
|
||||
import com.intellij.compiler.ant.taskdefs.*;
|
||||
import com.intellij.openapi.module.Module;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.io.FileUtil;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.packaging.artifacts.Artifact;
|
||||
import com.intellij.packaging.artifacts.ArtifactManager;
|
||||
@@ -145,7 +146,7 @@ public class ArtifactsGenerator {
|
||||
|
||||
if (myContext.shouldBuildIntoTempDirectory(artifact)) {
|
||||
final String outputDirectory = BuildProperties.propertyRelativePath(ArtifactAntGenerationContextImpl.ARTIFACTS_TEMP_DIR_PROPERTY,
|
||||
BuildProperties.convertName(artifact.getName()));
|
||||
FileUtil.sanitizeFileName(artifact.getName()));
|
||||
artifactTarget.add(new Property(myContext.getArtifactOutputProperty(artifact), outputDirectory));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user