mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
IDEA project configuration: jgoodies-forms converted to repository library
This commit is contained in:
Generated
+4
-5
@@ -1,11 +1,10 @@
|
||||
<component name="libraryTable">
|
||||
<library name="jgoodies-forms">
|
||||
<library name="jgoodies-forms" type="repository">
|
||||
<properties maven-id="com.jgoodies:forms:1.1-preview" />
|
||||
<CLASSES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/jgoodies-forms.jar!/" />
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/jgoodies/forms/1.1-preview/forms-1.1-preview.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$PROJECT_DIR$/lib/src/jgoodies-forms-src.zip!/" />
|
||||
</SOURCES>
|
||||
<SOURCES />
|
||||
</library>
|
||||
</component>
|
||||
@@ -28,6 +28,7 @@ dependencies {
|
||||
buildScriptsDeps loadLibraryMavenId("Log4J")
|
||||
buildScriptsDeps loadLibraryMavenId("Slf4j")
|
||||
buildScriptsDeps loadLibraryMavenId("jna")
|
||||
buildScriptsDeps loadLibraryMavenId("jgoodies-forms")
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
<fileset dir="${idea.lib}">
|
||||
<include name="jdom.jar"/>
|
||||
<include name="asm-all.jar"/>
|
||||
<include name="jgoodies-forms.jar"/>
|
||||
<include name="picocontainer.jar"/>
|
||||
<include name="snappy-in-java-*.jar"/>
|
||||
<include name="aether-*-all.jar"/>
|
||||
|
||||
@@ -98,7 +98,7 @@ public class BuildPropertiesImpl extends BuildProperties {
|
||||
fileSet.add(new Include("javac2.jar"));
|
||||
fileSet.add(new Include("jdom.jar"));
|
||||
fileSet.add(new Include("asm-all*.jar"));
|
||||
fileSet.add(new Include("jgoodies-forms.jar"));
|
||||
fileSet.add(new Include("forms-*.jar"));
|
||||
javac2.add(fileSet);
|
||||
add(javac2);
|
||||
register.add(new Tag("taskdef",
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -60,7 +60,7 @@ import com.intellij.uiDesigner.designSurface.GuiEditor;
|
||||
import com.intellij.uiDesigner.lw.*;
|
||||
import com.intellij.uiDesigner.make.PreviewNestedFormLoader;
|
||||
import com.intellij.util.PathsList;
|
||||
import java.util.HashSet;
|
||||
import com.jgoodies.forms.layout.CellConstraints;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
@@ -70,10 +70,7 @@ import javax.swing.*;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.StringTokenizer;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* @author Anton Katilin
|
||||
@@ -293,7 +290,7 @@ public final class PreviewFormAction extends AnAction{
|
||||
// 3. Now we are ready to launch Java process
|
||||
final JavaParameters parameters = new JavaParameters();
|
||||
parameters.getClassPath().add(tempPath);
|
||||
parameters.getClassPath().add(PathManager.findFileInLibDirectory("jgoodies-forms.jar").getAbsolutePath());
|
||||
parameters.getClassPath().add(PathManager.getJarPathForClass(CellConstraints.class));
|
||||
final List<String> paths = sources.getPathList();
|
||||
for (final String path : paths) {
|
||||
parameters.getClassPath().add(path);
|
||||
|
||||
Reference in New Issue
Block a user