mirror of
https://github.com/marcin-szczepanski/jFuzzyLogic.git
synced 2024-12-18 08:30:29 +01:00
cleanup
This commit is contained in:
parent
22cac55f18
commit
2f264866bb
10
.classpath
10
.classpath
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="lib" path="lib/antlrworks-1.2.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jcommon-1.0.14.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jfreechart-1.0.11.jar"/>
|
||||
<classpathentry kind="lib" path="lib/junit_4.11.0.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
19
.gitignore
vendored
Normal file
19
.gitignore
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
HELP.md
|
||||
target/
|
||||
|
||||
### IntelliJ IDEA ###
|
||||
.idea
|
||||
*.iws
|
||||
*.iml
|
||||
*.ipr
|
||||
|
||||
### NetBeans ###
|
||||
/nbproject/private/
|
||||
/nbbuild/
|
||||
/dist/
|
||||
/nbdist/
|
||||
/.nb-gradle/
|
||||
build/
|
||||
|
||||
### VS Code ###
|
||||
.vscode/
|
18
.project
18
.project
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>jFuzzyLogic</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
@ -1,3 +0,0 @@
|
||||
Manifest-Version: 1.0
|
||||
Main-Class: net.sourceforge.jFuzzyLogic.JFuzzyLogic
|
||||
|
@ -1,73 +0,0 @@
|
||||
|
||||
|
||||
Release instructions
|
||||
--------------------
|
||||
|
||||
|
||||
Main JAR file
|
||||
-------------
|
||||
|
||||
1) Create jFuzzyLogic.jar file
|
||||
|
||||
Eclipse -> Package explorer -> jFuzzyLogic -> Select file jFuzzyLogic.jardesc -> Right click "Create JAR"
|
||||
|
||||
2) Upload JAR file SourceForge (use sf.net menu)
|
||||
|
||||
|
||||
HTML pages
|
||||
----------
|
||||
|
||||
1) Upload HTML pages to SourceForge
|
||||
|
||||
cd ~/workspace/jFuzzyLogic
|
||||
scp index.html pcingola,jfuzzylogic@frs.sourceforge.net:htdocs/
|
||||
|
||||
cd ~/workspace/jFuzzyLogic/html
|
||||
scp *.{html,css} pcingola,jfuzzylogic@frs.sourceforge.net:htdocs/html
|
||||
scp images/*.png pcingola,jfuzzylogic@frs.sourceforge.net:htdocs/html/images/
|
||||
scp videos/*.swf pcingola,jfuzzylogic@frs.sourceforge.net:htdocs/html/videos/
|
||||
scp -R assets dist fcl pdf pcingola,jfuzzylogic@frs.sourceforge.net:htdocs/html/
|
||||
|
||||
Eclipse plugin
|
||||
--------------
|
||||
|
||||
1) Create small jFuzzyLogic.jar file (it's better to use a small file and not the big JAR file that has all source files)
|
||||
|
||||
cd ~/workspace/jFuzzyLogic/
|
||||
ant
|
||||
|
||||
# Check the JAR file
|
||||
cd
|
||||
java -jar jFuzzyLogic.jar
|
||||
|
||||
|
||||
2) Copy jFuzzyLogic.jar file to UI project
|
||||
|
||||
cp jFuzzyLogic.jar net.sourceforge.jFuzzyLogic.Fcl.ui/lib/jFuzzyLogic.jar
|
||||
|
||||
3) Build eclipse update site
|
||||
|
||||
In Eclipse:
|
||||
- In package explorer, refresh all net.sourceforge.jFuzzyLogic.Fcl.* projects
|
||||
|
||||
- Open the net.sourceforge.jFuzzyLogic.Fcl.updateSite project
|
||||
- Delete the contents of the 'plugins' 'features' and dir
|
||||
|
||||
cd ~/workspace/net.sourceforge.jFuzzyLogic.Fcl.updateSite
|
||||
rm -vf *.jar plugins/*.jar features/*.jar
|
||||
|
||||
- Open site.xml file
|
||||
- Go to "Site Map" tab
|
||||
|
||||
- Open jFuzzyLogic category and remove the 'feature' (called something like "net.sourceforge.jFuzzyLogic.Fcl.sdk_1.1.0.201212101535.jar"
|
||||
and add it again (just to be sure)
|
||||
|
||||
- Click the "Buid All" button
|
||||
|
||||
- Refresh the project (you should see the JAR files in the plugin folders now).
|
||||
|
||||
4) Upload Eclipse plugin files to SourceForge (Eclipse update site)
|
||||
|
||||
cd ~/workspace/net.sourceforge.jFuzzyLogic.Fcl.updateSite
|
||||
scp -r . pcingola,jfuzzylogic@frs.sourceforge.net:htdocs/eclipse/
|
||||
|
52
build.xml
52
build.xml
@ -1,52 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<project default="jars" name="Create Runnable JARs for Project jFuzzyLogic">
|
||||
|
||||
<target name="jars" depends="clean,compile,create_jar,create_core_jar">
|
||||
</target>
|
||||
|
||||
<target name="create_jar" depends="compile">
|
||||
<jar destfile="${user.home}/jFuzzyLogic.jar" filesetmanifest="mergewithoutmain">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="net.sourceforge.jFuzzyLogic.JFuzzyLogic"/>
|
||||
<attribute name="Class-Path" value="."/>
|
||||
</manifest>
|
||||
<fileset dir="bin"/>
|
||||
<fileset dir="src"/>
|
||||
<fileset dir="fcl"/>
|
||||
<zipfileset excludes="META-INF/*.SF" src="lib/antlrworks-1.2.jar"/>
|
||||
<zipfileset excludes="META-INF/*.SF" src="lib/jcommon-1.0.14.jar"/>
|
||||
<zipfileset excludes="META-INF/*.SF" src="lib/jfreechart-1.0.11.jar"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="create_core_jar" depends="compile">
|
||||
<jar destfile="${user.home}/jFuzzyLogic_core.jar" filesetmanifest="mergewithoutmain">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="net.sourceforge.jFuzzyLogic.JFuzzyLogic"/>
|
||||
<attribute name="Class-Path" value="."/>
|
||||
</manifest>
|
||||
<fileset dir="bin"/>
|
||||
<zipfileset excludes="META-INF/*.SF" src="lib/antlrworks-1.2.jar"/>
|
||||
<zipfileset excludes="META-INF/*.SF" src="lib/jcommon-1.0.14.jar"/>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<target name="clean" description="Delete all generated files">
|
||||
<delete dir="bin/net"/>
|
||||
<delete file="${user.home}/jFuzzyLogic.jar"/>
|
||||
<delete file="${user.home}/jFuzzyLogic_core.jar"/>
|
||||
</target>
|
||||
|
||||
<target name="compile">
|
||||
<javac
|
||||
srcdir="src"
|
||||
destdir="bin"
|
||||
debug="true"
|
||||
source="1.6"
|
||||
target="1.6"
|
||||
includeantruntime="false"
|
||||
classpath="lib/antlrworks-1.2.jar:lib/jcommon-1.0.14.jar:lib/jfreechart-1.0.11.jar:lib/junit_4.11.0.jar"
|
||||
/>
|
||||
</target>
|
||||
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user