Mercurial > hg > Database > Christie
changeset 250:9697be80d1f6
fall back to java 8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 24 Jan 2020 20:47:53 +0900 |
parents | 6fe174283811 |
children | e8f6c35e6b69 |
files | build.gradle gradle/wrapper/gradle-wrapper.properties src/main/java/christie/textEditor/MenuActionOpen.java src/test/java/christie/example/PrefixTree/PrefixNode.java |
diffstat | 4 files changed, 44 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/build.gradle Fri Jan 24 20:32:57 2020 +0900 +++ b/build.gradle Fri Jan 24 20:47:53 2020 +0900 @@ -2,8 +2,8 @@ apply plugin: 'eclipse' apply plugin: 'maven' -sourceCompatibility = 11; -targetCompatibility = 11; +sourceCompatibility = 8; +targetCompatibility = 8; [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' group = 'cr.ie.u_ryukyu.ac.jp' @@ -41,8 +41,8 @@ attributes 'Main-Class': 'christie.topology.manager.StartTopologyManager', 'Implementation-Title': 'StartTopologyManager', 'Implementation-Description': 'Quickstart', - 'Implementation-Version': version, - 'Assembly-Date': new java.util.Date().toString() + 'Implementation-Version': version + // 'Assembly-Date': new java.util.Date().toString() } from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } @@ -57,8 +57,8 @@ attributes 'Main-Class': 'christie.test.topology.localTestTopology.StartTorqueTestTopology', 'Implementation-Title': 'christieStartTorqueTestTopology', 'Implementation-Description': 'Quickstart', - 'Implementation-Version': version, - 'Assembly-Date': new java.util.Date().toString() + 'Implementation-Version': version + // 'Assembly-Date': new java.util.Date().toString() } from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
--- a/gradle/wrapper/gradle-wrapper.properties Fri Jan 24 20:32:57 2020 +0900 +++ b/gradle/wrapper/gradle-wrapper.properties Fri Jan 24 20:47:53 2020 +0900 @@ -1,5 +1,6 @@ +#Fri Jan 24 20:43:02 JST 2020 +distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip +zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/christie/textEditor/MenuActionOpen.java Fri Jan 24 20:47:53 2020 +0900 @@ -0,0 +1,17 @@ +package christie.textEditor; + +import java.awt.event.ActionEvent; + +import javax.swing.AbstractAction; + +class MenuActionOpen extends AbstractAction{ + + @Override + public void actionPerformed(ActionEvent e){ + MainFrame.getInstance().openFile(); + } + + MenuActionOpen(){ + super("開く"); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/test/java/christie/example/PrefixTree/PrefixNode.java Fri Jan 24 20:47:53 2020 +0900 @@ -0,0 +1,18 @@ +package christie.example.PrefixTree; + +import christie.codegear.CodeGearManager; +import christie.topology.node.StartTopologyNode; +import christie.topology.node.TopologyNodeConfig; + +public class PrefixNode { + + public static void main(String[] args){ + PrefixTreeNodeConfig prefixTreeNodeConfig = new PrefixTreeNodeConfig(args); + int totalNodeNum = prefixTreeNodeConfig.getTotalNodeNum(); + + StartTopologyNode startTopologyNode = new StartTopologyNode((TopologyNodeConfig) prefixTreeNodeConfig, new CheckMyName()); + + startTopologyNode.put("num", prefixTreeNodeConfig.getI()); + startTopologyNode.put("totalNodeNum", totalNodeNum - 1); + } +}