Skip to content

Commit

Permalink
out source swing related
Browse files Browse the repository at this point in the history
  • Loading branch information
umjammer committed Nov 1, 2017
1 parent c64c87d commit a1ae2a3
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 403 deletions.
77 changes: 11 additions & 66 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<!-- -->
<!-- vavi-commons-sandbox -->
<!-- -->
<!-- @author Naohide Sano -->
<!-- @version 0.00 021018 nsano initial version -->
<!-- @author Naohide Sano -->
<!-- @version 0.00 021018 nsano initial version -->
<!-- -->
<!-- ////////////////////////////////////////////////////////////////////// -->

<project name="vavi-commons-sandbox" default="compile" basedir="."
<project name="vavi-commons-sandbox" default="run" basedir="."
xmlns:artifact="urn:maven-artifact-ant">

<path id="maven-ant-tasks.classpath">
Expand All @@ -31,84 +31,29 @@

<!-- Path Definitions -->
<path id="project.class.path">
<pathelement location="${javac.dest.test}" />
<pathelement location="${javac.dest}" />
<fileset refid="maven-ant-tasks.dependency.fileset" />
</path>

<!-- clean -->
<target name="clean" description="Cleaning">
<delete>
<fileset dir="${javac.dest}">
<include name="**/*" />
</fileset>
<fileset dir="${javac.dest.test}">
<include name="**/*" />
</fileset>
</delete>
</target>

<!-- prepare -->
<target name="prepare" description="Preparing">
<artifact:pom file="pom.xml" id="maven.project" />
<artifact:dependencies fileSetId="maven-ant-tasks.dependency.fileset">
<pom refid="maven.project" />
</artifact:dependencies>
</target>

<!-- javac -->
<target name="compile" depends="prepare" description="Compiling">
<javac debug="on"
destdir="${javac.dest}"
source="${project.build.plugins.plugin.configuration.source}"
target="${project.build.plugins.plugin.configuration.target}"
encoding="${project.build.plugins.plugin.configuration.encoding}">
<classpath refid="project.class.path" />
<include name="**/*.java" />
<src path="${javac.source}" />
</javac>

<copy todir="${javac.dest}">
<fileset dir="${javac.resource}">
<include name="**/*" />
</fileset>
</copy>

<javac debug="on"
destdir="${javac.dest.test}"
source="${project.build.plugins.plugin.configuration.source}"
target="${project.build.plugins.plugin.configuration.target}"
encoding="${project.build.plugins.plugin.configuration.encoding}">
<classpath>
<path refid="project.class.path" />
<pathelement location="${javac.dest}" />
</classpath>
<include name="**/*.java" />
<src path="${javac.source.test}" />
</javac>

<copy todir="${javac.dest.test}">
<fileset dir="${javac.resource.test}">
<include name="**/*" />
</fileset>
</copy>
</target>

<!-- jar -->
<target name="package" depends="compile" description="パッケージング">
<jar jarfile="target/${project.artifactId}-${project.version}.jar">
<fileset dir="${dir.build}">
<include name="**/*" />
</fileset>
</jar>
<artifact:mvn pom="pom.xml">
<arg value="package"/>
<arg value="-Dmaven.test.skip=true"/>
</artifact:mvn>
</target>

<!-- run -->
<target name="run" depends="compile" description="Run">
<target name="run" depends="prepare" description="Run">
<java classname="vavi.util.JapaneseCalendarTest" fork="yes">
<jvmarg value="-Dfile.encoding=UTF-8" />
<jvmarg value="-Dfile.encoding=${project.build.plugins.plugin.configuration.encoding}" />
<classpath>
<path refid="project.class.path" />
<pathelement location="${dir.build}" />
<pathelement location="target/test-classes" />
</classpath>
<arg line="${args}" />
</java>
Expand Down
70 changes: 12 additions & 58 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@
<organization>
<name></name>
</organization>
<version>0.3.2</version>
<version>0.3.3</version>
<url>https://github.com/umjammer/vavi-commons</url>
<description>0.3.2
<description>0.3.3

out source swing related

0.3.2

move LevenshteinDistance to vavi-commons
add swing xml pretty printer</description>
Expand All @@ -26,37 +30,6 @@
</distributionManagement>
<build>
<plugins>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
</configuration>
</plugin>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.11</version>
<configuration>
<message>Maven artifacts for ${project.version}</message> <!-- git commit message -->
<noJekyll>true</noJekyll> <!-- disable webpage processing -->
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <!-- matches distribution management repository url above -->
<branch>refs/heads/mvn-repo</branch> <!-- remote branch name -->
<includes><include>**/*</include></includes>
<repositoryName>vavi-commons</repositoryName> <!-- github repo name -->
<repositoryOwner>umjammer</repositoryOwner> <!-- github username -->
<merge>true</merge>
</configuration>
<executions>
<!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase -->
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
Expand All @@ -65,7 +38,6 @@
<encoding>utf-8</encoding>
<generatedSourcesDirectory>target/generated-sources/jjtree</generatedSourcesDirectory>
</configuration>
<version>3.3</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down Expand Up @@ -168,20 +140,8 @@
</build>
<repositories>
<repository>
<id>vavi-commons-mvn-repo</id>
<url>https://raw.github.com/umjammer/vavi-commons/mvn-repo/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>vavi-awt-mvn-repo</id>
<url>https://raw.github.com/umjammer/vavi-awt/mvn-repo/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
Expand Down Expand Up @@ -211,15 +171,9 @@
<optional>false</optional>
</dependency>
<dependency>
<groupId>vavi</groupId>
<groupId>com.github.umjammer</groupId>
<artifactId>vavi-commons</artifactId>
<version>1.0.4</version>
</dependency>
<dependency>
<groupId>vavi</groupId>
<artifactId>vavi-awt</artifactId>
<version>1.0.0</version>
<optional>false</optional>
<version>1.0.6</version>
</dependency>
<dependency>
<groupId>net.sf.jacob-project</groupId>
Expand All @@ -233,9 +187,9 @@
<github.global.server>github</github.global.server>
</properties>
<scm>
<url>https://github.com/umjammer/vavi-commons/tree/master/vavi-commons-sandbox</url>
<url>https://github.com/umjammer/vavi-commons-sandbox/tree/master/vavi-commons-sandbox</url>
</scm>
<issueManagement>
<url>https://github.com/umjammer/vavi-commons/issues</url>
<url>https://github.com/umjammer/vavi-commons-sandbox/issues</url>
</issueManagement>
</project>
56 changes: 0 additions & 56 deletions src/main/java/vavix/swing/editormanager/DefaultEditorManager.java

This file was deleted.

47 changes: 0 additions & 47 deletions src/main/java/vavix/swing/editormanager/Editor.java

This file was deleted.

Loading

0 comments on commit a1ae2a3

Please sign in to comment.