Gradle/Mavenが持っているjarファイルのパスを表示するツール
Revisão | b2a348ed644fb828b0862a4a5723fdeffd3387e7 (tree) |
---|---|
Hora | 2022-08-28 16:58:36 |
Autor | kemono7h |
Commiter | kemono7h |
実行JavaVMを1.6以降に変更した
@@ -1,12 +1,15 @@ | ||
1 | 1 | eclipse.preferences.version=1 |
2 | 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled |
3 | -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | |
3 | +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate | |
4 | +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 | |
4 | 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve |
5 | -org.eclipse.jdt.core.compiler.compliance=1.8 | |
6 | +org.eclipse.jdt.core.compiler.compliance=1.6 | |
6 | 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate |
7 | 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate |
8 | 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate |
9 | 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error |
11 | +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled | |
10 | 12 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error |
11 | -org.eclipse.jdt.core.compiler.release=enabled | |
12 | -org.eclipse.jdt.core.compiler.source=1.8 | |
13 | +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning | |
14 | +org.eclipse.jdt.core.compiler.release=disabled | |
15 | +org.eclipse.jdt.core.compiler.source=1.6 |
@@ -4,7 +4,7 @@ | ||
4 | 4 | <target name="init"> |
5 | 5 | <property name="Name" value="DokonanJar" /> |
6 | 6 | <property name="build" value="../bin" /> |
7 | - <property name="version" value="1.0.0" /> | |
7 | + <property name="version" value="1.2" /> | |
8 | 8 | <property name="jar_name" value="dokonan.jar" /> |
9 | 9 | </target> |
10 | 10 |
@@ -71,7 +71,7 @@ | ||
71 | 71 | frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); |
72 | 72 | frame.setTitle("DokonanJar - Gradle/MavenのJarファイルを探してコピー"); |
73 | 73 | |
74 | - Font font = (fontName == null) ? frame.getFont() : new Font(fontName, Font.PLAIN, 12); | |
74 | + final Font font = (fontName == null) ? frame.getFont() : new Font(fontName, Font.PLAIN, 12); | |
75 | 75 | |
76 | 76 | //入力コンポーネントの配置領域 |
77 | 77 | JPanel topPanel = new JPanel(); |
@@ -222,8 +222,8 @@ | ||
222 | 222 | |
223 | 223 | } |
224 | 224 | |
225 | - public void fireChangeListener(String s) { | |
226 | - long msec = System.currentTimeMillis(); | |
225 | + public void fireChangeListener(final String s) { | |
226 | + final long msec = System.currentTimeMillis(); | |
227 | 227 | setLastTime(msec); |
228 | 228 | if (s.length() <= 0) { |
229 | 229 | return; |
@@ -84,7 +84,7 @@ | ||
84 | 84 | |
85 | 85 | public void initFrame() { |
86 | 86 | dokoFrame.initComponent(); |
87 | - JButton button = dokoFrame.getCopyButton(); | |
87 | + final JButton button = dokoFrame.getCopyButton(); | |
88 | 88 | button.setToolTipText("表示中のjarを [" + FileUtils.getFullPath(outputDir) + "] にコピー。右クリックで出力先を開きます"); |
89 | 89 | button.addActionListener(new CopyButtonActionListener()); |
90 | 90 | button.addMouseListener(new DokonanMouseListener()); |