mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
obsolete code and tests removed, IDEADEV-41068 fixed
This commit is contained in:
-37
@@ -1,37 +0,0 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.intellij.compiler.ant;
|
||||
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import com.intellij.openapi.compiler.make.CompoundBuildInstruction;
|
||||
|
||||
/**
|
||||
* @author nik
|
||||
*/
|
||||
public abstract class CompoundBuildInstructionNaming {
|
||||
@NonNls
|
||||
public abstract String getBuildExplodedTargetName(CompoundBuildInstruction instruction);
|
||||
|
||||
@NonNls
|
||||
public abstract String getBuildJarTargetName(CompoundBuildInstruction instruction);
|
||||
|
||||
@NonNls
|
||||
public abstract String getExplodedPathProperty(CompoundBuildInstruction instruction);
|
||||
|
||||
@NonNls
|
||||
public abstract String getJarPathProperty(CompoundBuildInstruction instruction);
|
||||
}
|
||||
+6
-17
@@ -17,7 +17,6 @@
|
||||
package com.intellij.compiler.ant;
|
||||
|
||||
import com.intellij.openapi.compiler.make.BuildConfiguration;
|
||||
import com.intellij.openapi.compiler.make.CompoundBuildInstruction;
|
||||
import com.intellij.openapi.module.Module;
|
||||
|
||||
/**
|
||||
@@ -34,19 +33,13 @@ public class ExplodedAndJarTargetParameters {
|
||||
private final String myExplodedPathProperty;
|
||||
private final String myJarPathProperty;
|
||||
private final BuildConfiguration myBuildConfiguration;
|
||||
private final CompoundBuildInstructionNaming myCompoundBuildInstructionNaming;
|
||||
|
||||
public ExplodedAndJarTargetParameters(final ModuleChunk chunk,
|
||||
final Module containingModule,
|
||||
final GenerationOptions generationOptions,
|
||||
final BuildConfiguration buildConfiguration,
|
||||
final String explodedPathParameter,
|
||||
final String jarPathParameter,
|
||||
final String buildExplodedTargetName,
|
||||
final String buildJarTargetName,
|
||||
final String explodedPathProperty,
|
||||
final String jarPathProperty, final CompoundBuildInstructionNaming compoundBuildInstructionNaming) {
|
||||
myCompoundBuildInstructionNaming = compoundBuildInstructionNaming;
|
||||
public ExplodedAndJarTargetParameters(final ModuleChunk chunk, final Module containingModule, final GenerationOptions generationOptions,
|
||||
final BuildConfiguration buildConfiguration, final String explodedPathParameter, final String jarPathParameter,
|
||||
final String buildExplodedTargetName,
|
||||
final String buildJarTargetName,
|
||||
final String explodedPathProperty,
|
||||
final String jarPathProperty) {
|
||||
myBuildConfiguration = buildConfiguration;
|
||||
myChunk = chunk;
|
||||
myContainingModule = containingModule;
|
||||
@@ -95,10 +88,6 @@ public class ExplodedAndJarTargetParameters {
|
||||
return myJarPathProperty;
|
||||
}
|
||||
|
||||
public CompoundBuildInstructionNaming getCompoundBuildInstructionNaming() {
|
||||
return myCompoundBuildInstructionNaming;
|
||||
}
|
||||
|
||||
public BuildConfiguration getBuildConfiguration() {
|
||||
return myBuildConfiguration;
|
||||
}
|
||||
|
||||
-3
@@ -26,7 +26,4 @@ public abstract class BuildInstructionVisitor {
|
||||
public boolean visitJarAndCopyBuildInstruction(JarAndCopyBuildInstruction instruction) throws Exception {
|
||||
return visitFileCopyInstruction(instruction);
|
||||
}
|
||||
public boolean visitCompoundBuildInstruction(CompoundBuildInstruction instruction) throws Exception {
|
||||
return visitInstruction(instruction);
|
||||
}
|
||||
}
|
||||
-28
@@ -1,28 +0,0 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.openapi.compiler.make;
|
||||
|
||||
|
||||
import com.intellij.openapi.compiler.CompileContext;
|
||||
|
||||
public interface CompoundBuildInstruction extends BuildInstruction {
|
||||
|
||||
BuildConfiguration getBuildProperties();
|
||||
|
||||
BuildRecipe getChildInstructions(CompileContext context);
|
||||
|
||||
BuildParticipant getBuildParticipant();
|
||||
}
|
||||
Reference in New Issue
Block a user