├── projects
├── netbeans
│ ├── genfiles.properties
│ ├── private
│ │ └── private.properties
│ ├── project.xml
│ ├── project.properties
│ └── build-impl.xml
├── intellij
│ ├── encodings.xml
│ ├── vcs.xml
│ ├── modules.xml
│ ├── project.iml
│ ├── compiler.xml
│ └── workspace.xml
├── eclipse
│ ├── .classpath
│ └── .project
└── ant
│ └── build.xml
├── libw
├── bin
│ ├── cp.exe
│ ├── sed.exe
│ ├── tr.exe
│ ├── bash.exe
│ ├── chmod.exe
│ ├── mkdir.exe
│ ├── uname.exe
│ ├── msys-1.0.dll
│ ├── msys-regex-1.dll
│ └── msys-termcap-0.dll
└── etc
│ ├── profile
│ ├── fstab.sample
│ ├── .inputrc
│ └── termcap
├── settings.cfg
├── create.bat
├── README
├── files
├── BlockListener.java
├── PlayerListener.java
└── YPlugin.java
├── create
└── create.ps1
/projects/netbeans/genfiles.properties:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/projects/netbeans/private/private.properties:
--------------------------------------------------------------------------------
1 | compile.on.save=true
2 |
3 |
--------------------------------------------------------------------------------
/libw/bin/cp.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Pezmc/Bukkit-Plugin-Generator/HEAD/libw/bin/cp.exe
--------------------------------------------------------------------------------
/libw/bin/sed.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Pezmc/Bukkit-Plugin-Generator/HEAD/libw/bin/sed.exe
--------------------------------------------------------------------------------
/libw/bin/tr.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Pezmc/Bukkit-Plugin-Generator/HEAD/libw/bin/tr.exe
--------------------------------------------------------------------------------
/libw/bin/bash.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Pezmc/Bukkit-Plugin-Generator/HEAD/libw/bin/bash.exe
--------------------------------------------------------------------------------
/libw/bin/chmod.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Pezmc/Bukkit-Plugin-Generator/HEAD/libw/bin/chmod.exe
--------------------------------------------------------------------------------
/libw/bin/mkdir.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Pezmc/Bukkit-Plugin-Generator/HEAD/libw/bin/mkdir.exe
--------------------------------------------------------------------------------
/libw/bin/uname.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Pezmc/Bukkit-Plugin-Generator/HEAD/libw/bin/uname.exe
--------------------------------------------------------------------------------
/libw/bin/msys-1.0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Pezmc/Bukkit-Plugin-Generator/HEAD/libw/bin/msys-1.0.dll
--------------------------------------------------------------------------------
/libw/bin/msys-regex-1.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Pezmc/Bukkit-Plugin-Generator/HEAD/libw/bin/msys-regex-1.dll
--------------------------------------------------------------------------------
/libw/bin/msys-termcap-0.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Pezmc/Bukkit-Plugin-Generator/HEAD/libw/bin/msys-termcap-0.dll
--------------------------------------------------------------------------------
/settings.cfg:
--------------------------------------------------------------------------------
1 | # General Settings
2 | output_folder="."
3 |
4 | # Project File Generation
5 | gen_intellij=0
6 | gen_eclipse=0
7 | gen_netbeans=0
8 | gen_ant=0
9 |
--------------------------------------------------------------------------------
/projects/intellij/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/projects/intellij/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/libw/etc/profile:
--------------------------------------------------------------------------------
1 | if [ -z "$MSYSTEM" ]; then
2 | MSYSTEM=MINGW32
3 | fi
4 | export HOME=/etc
5 | export HISTFILE=
6 | export HISTFILESIZE=0
7 | export HISTSIZE=0
8 | export MSYSTEM
9 | export MAKE_MODE=unix
10 | export PS1='\u'
11 |
--------------------------------------------------------------------------------
/projects/eclipse/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/projects/intellij/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/projects/eclipse/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{PLUGINNAME}}
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.jdt.core.javabuilder
10 |
11 |
12 |
13 |
14 |
15 | org.eclipse.jdt.core.javanature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/projects/intellij/project.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/create.bat:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SETLOCAL ENABLEDELAYEDEXPANSION
3 |
4 | :: Set up our variables.
5 | SET _CWD=%~dp0
6 | SET _OLDPATH=%PATH%
7 | SET PATH=%_CWD%libw\bin
8 | SET _OS=NT
9 |
10 | :: Set the bash scripts to be executable.
11 | %PATH%\chmod.exe +x %_CWD%create
12 |
13 | :: Finally, run the bash script.
14 | %PATH%\bash.exe %_CWD%create
15 | PAUSE
16 |
17 | :: Fix the old variables. (In case
18 | :: someone called this batch file through
19 | :: cmd.exe /K create.bat)
20 | SET PATH=%_OLDPATH%
21 | :: And zero out the unnecessary variables.
22 | SET _OLDPATH=
23 | SET _CWD=
24 | SET _OS=
25 |
26 | :: Done.
27 | ENDLOCAL
--------------------------------------------------------------------------------
/README:
--------------------------------------------------------------------------------
1 | ~~~~~ Bukkit Plugin Generator for *nix (inc OSX) systems ~~~~~
2 |
3 | Special thanks to tomsik68 for the original.
4 | And sly for first port to *nix
5 |
6 | Instructions:
7 |
8 | OSX
9 | - Run create from terminal, you may need to chmod +x the file
10 | - Copy the resulting directory into your project directory/
11 |
12 | Linux
13 | - Run create from a shell, you may need to chmod +x the file
14 | - Copy the resulting directory into your project directory/
15 |
16 | Windows
17 | - Run create.bat from windows explorer
18 | - Copy the resulting directory into your project directory/
19 |
--------------------------------------------------------------------------------
/projects/netbeans/project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.netbeans.modules.java.j2seproject
4 |
5 |
6 | {{PLUGINNAME}}
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/files/BlockListener.java:
--------------------------------------------------------------------------------
1 | package .;
2 |
3 | import org.bukkit.block.Block;
4 | import org.bukkit.block.BlockFace;
5 | import org.bukkit.Material;
6 | import org.bukkit.event.block.BlockCanBuildEvent;
7 | import org.bukkit.event.block.BlockListener;
8 | import org.bukkit.event.block.BlockPhysicsEvent;
9 |
10 | /**
11 | * block listener
12 | * @author
13 | */
14 | public class BlockListener extends BlockListener {
15 | private final plugin;
16 |
17 | public BlockListener(final plugin) {
18 | this.plugin = plugin;
19 | }
20 |
21 | //put all Block related code here
22 | }
23 |
--------------------------------------------------------------------------------
/files/PlayerListener.java:
--------------------------------------------------------------------------------
1 | package .;
2 |
3 | import org.bukkit.Location;
4 | import org.bukkit.entity.Player;
5 | import org.bukkit.event.player.PlayerChatEvent;
6 | import org.bukkit.event.player.PlayerEvent;
7 | import org.bukkit.event.player.PlayerListener;
8 | import org.bukkit.event.player.PlayerMoveEvent;
9 |
10 | /**
11 | * Handle events for all Player related events
12 | * @author
13 | */
14 | public class PlayerListener extends PlayerListener {
15 | private final plugin;
16 |
17 | public PlayerListener( instance) {
18 | plugin = instance;
19 | }
20 |
21 | //Insert Player related code here
22 | }
23 |
24 |
--------------------------------------------------------------------------------
/libw/etc/fstab.sample:
--------------------------------------------------------------------------------
1 | #fstab.sample
2 | #This is a sample file for /etc/fstab.
3 | #Currently /etc/fstab is only read during dll initialization.
4 | #I will eventually watch the directory for changes and reread the file.
5 | #The line format is simple in that you give the Win32 path, followed by one or
6 | #more space or tab delimiter, followed by the mount point. Mount points in
7 | #typical UNIX environments must be a physical name on a drive before it can
8 | #actually be used as a mount point. In this implementation the "must exist"
9 | #requirement isn't enforced, however, it will be an aide to such programs as
10 | #find and readline's tab completion if it does exist.
11 |
12 | #You can use a # as the first character on the line as a comment indicator.
13 | #Blank lines are ignored.
14 |
15 | #Win32_Path Mount_Point
16 | c:/mingw /mingw
17 | c:/ActiveState/perl /perl
18 |
--------------------------------------------------------------------------------
/projects/intellij/compiler.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/libw/etc/.inputrc:
--------------------------------------------------------------------------------
1 | # Key-bindings for the command-line editor.
2 |
3 | # Ask before displaying >50 items
4 | # Since $WINDIR $PATH var can be in $PATH, this could list
5 | # all window exectables in C:\WINDOWS
6 | set completion-query-items 50
7 |
8 | # Ignore case for the command-line-completion functionality
9 | # on: default to a Windows style console
10 | # off: default to a *nix style console
11 | set completion-ignore-case on
12 |
13 | # none, visible or audible
14 | set bell-style audible
15 |
16 | # disable/enable 8bit input
17 | set meta-flag on
18 | set input-meta on
19 | set output-meta off
20 | set convert-meta on
21 |
22 | # visible-stats
23 | # Append a mark according to the file type in a listing
24 | set visible-stats off
25 | set mark-directories on
26 |
27 | # Show all instead of beeping first
28 | set show-all-if-ambiguous off
29 |
30 | # MSYSTEM is emacs based
31 | $if mode=emacs
32 | # Common to Console & RXVT
33 | "\C-?": backward-kill-line # Ctrl-BackSpace
34 | "\e[2~": paste-from-clipboard # "Ins. Key"
35 | "\e[5~": beginning-of-history # Page up
36 | "\e[6~": end-of-history # Page down
37 |
38 | $if term=msys # RXVT
39 | "\e[7~": beginning-of-line # Home Key
40 | "\e[8~": end-of-line # End Key
41 | "\e[11~": display-shell-version # F1
42 | "\e[15~": re-read-init-file # F5
43 | $endif
44 | $if term=cygwin # Console
45 | "\e[1~": beginning-of-line # Home Key
46 | "\e[4~": end-of-line # End Key
47 | $endif
48 | $endif
49 |
50 |
51 |
--------------------------------------------------------------------------------
/projects/netbeans/project.properties:
--------------------------------------------------------------------------------
1 | annotation.processing.enabled=true
2 | annotation.processing.enabled.in.editor=false
3 | annotation.processing.run.all.processors=true
4 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
5 | application.title={{PLUGINNAME}}
6 | application.vendor={{USERNAME}}
7 | build.classes.dir=${build.dir}/classes
8 | build.classes.excludes=**/*.java,**/*.form
9 | # This directory is removed when the project is cleaned:
10 | build.dir=bin
11 | build.generated.dir=${build.dir}/generated
12 | build.generated.sources.dir=${build.dir}/generated-sources
13 | # Only compile against the classpath explicitly listed here:
14 | build.sysclasspath=ignore
15 | # Uncomment to specify the preferred debugger connection transport:
16 | #debug.transport=dt_socket
17 | debug.classpath=\
18 | ${run.classpath}
19 | # This directory is removed when the project is cleaned:
20 | dist.dir=dist
21 | dist.jar=${dist.dir}/{{PLUGINNAME}}.jar
22 | dist.javadoc.dir=${dist.dir}/javadoc
23 | excludes=
24 | file.reference.{{PLUGINNAME}}-src=src
25 | includes=**
26 | jar.compress=false
27 | javac.classpath=
28 | # Space-separated list of extra javac options
29 | javac.compilerargs=
30 | javac.deprecation=false
31 | javac.processorpath=\
32 | ${javac.classpath}
33 | javac.source=1.5
34 | javac.target=1.5
35 | javadoc.additionalparam=
36 | javadoc.author=false
37 | javadoc.encoding=${source.encoding}
38 | javadoc.noindex=false
39 | javadoc.nonavbar=false
40 | javadoc.notree=false
41 | javadoc.private=false
42 | javadoc.splitindex=true
43 | javadoc.use=true
44 | javadoc.version=false
45 | javadoc.windowtitle=
46 | main.class=
47 | manifest.file=manifest.mf
48 | meta.inf.dir=${src.dir}/META-INF
49 | platform.active=default_platform
50 | run.classpath=\
51 | ${javac.classpath}:\
52 | ${build.classes.dir}
53 | # Space-separated list of JVM arguments used when running the project
54 | # (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
55 | # or test-sys-prop.name=value to set system properties for unit tests):
56 | run.jvmargs=
57 | source.encoding=UTF-8
58 | src.dir=${file.reference.{{PLUGINNAME}}-src}
59 |
--------------------------------------------------------------------------------
/files/YPlugin.java:
--------------------------------------------------------------------------------
1 | package .;
2 |
3 | import java.io.File;
4 | import java.util.HashMap;
5 | import org.bukkit.entity.Player;
6 | import org.bukkit.Server;
7 | import org.bukkit.event.Event.Priority;
8 | import org.bukkit.event.Event;
9 | import org.bukkit.plugin.PluginDescriptionFile;
10 | import org.bukkit.plugin.PluginLoader;
11 | import org.bukkit.plugin.java.JavaPlugin;
12 | import org.bukkit.plugin.PluginManager;
13 |
14 | /**
15 | * for Bukkit
16 | *
17 | * @author
18 | */
19 | public class extends JavaPlugin {
20 | private final PlayerListener playerListener = new PlayerListener(this);
21 | private final BlockListener blockListener = new BlockListener(this);
22 | private final HashMap debugees = new HashMap();
23 |
24 | public (PluginLoader pluginLoader, Server instance, PluginDescriptionFile desc, File folder, File plugin, ClassLoader cLoader) {
25 | super(pluginLoader, instance, desc, folder, plugin, cLoader);
26 | // TODO: Place any custom initialisation code here
27 |
28 | // NOTE: Event registration should be done in onEnable not here as all events are unregistered when a plugin is disabled
29 | }
30 |
31 |
32 |
33 | public void onEnable() {
34 | // TODO: Place any custom enable code here including the registration of any events
35 |
36 | // Register our events
37 | PluginManager pm = getServer().getPluginManager();
38 |
39 |
40 | // EXAMPLE: Custom code, here we just output some info so we can check all is well
41 | PluginDescriptionFile pdfFile = this.getDescription();
42 | System.out.println( pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled!" );
43 | }
44 | public void onDisable() {
45 | // TODO: Place any custom disable code here
46 |
47 | // NOTE: All registered events are automatically unregistered when a plugin is disabled
48 |
49 | // EXAMPLE: Custom code, here we just output some info so we can check all is well
50 | System.out.println("Goodbye world!");
51 | }
52 | public boolean isDebugging(final Player player) {
53 | if (debugees.containsKey(player)) {
54 | return debugees.get(player);
55 | } else {
56 | return false;
57 | }
58 | }
59 |
60 | public void setDebugging(final Player player, final boolean value) {
61 | debugees.put(player, value);
62 | }
63 | }
64 |
65 |
--------------------------------------------------------------------------------
/projects/ant/build.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
--------------------------------------------------------------------------------
/create:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | ## A simple script to generate the skeleton for a new BukkitMod plugin.
3 | ## Written by: Pezmc
4 |
5 | # OS Detection
6 | ## Check if we're running windows. If so, clear the
7 | ## "bash: warning: could not find /tmp, please create!
8 | ## error that likely occurred when bash was started.
9 | if [ $_OS -a $_OS == "NT" ]; then
10 | _OS='nt'
11 | else
12 | # Get the OS name and lowercase it.
13 | _OS=`uname -s | tr '[A-Z]' '[a-z]'`
14 |
15 | # Now test if it's Linux or Mac OSX
16 | if [[ $_OS == *linux* ]]; then
17 | _OS='linux'
18 | elif [[ $_OS == *cygwin* ]]; then
19 | _OS='nt'
20 | elif [[ $_OS == *darwin* ]]; then
21 | _OS='mac'
22 | fi
23 | fi
24 |
25 | # Set up the ANSI escape colors depending on OS.
26 | if [[ $_OS == 'linux' || $_OS == 'nt' ]]; then
27 | # Standard ANSI escape codes.
28 | c_default='\e[0;37m'
29 | c_white='\e[1;37m'
30 | c_cyan='\e[1;36m'
31 | c_green='\e[1;32m'
32 | c_red='\e[0;31m'
33 | c_blue='\e[1;34m'
34 | c_yellow='\e[1;33m'
35 | elif [[ $_OS == 'mac' ]]; then
36 | # For Mac OS X, we have to do it slightly
37 | # different.
38 | c_default='\033[0;37m'
39 | c_white='\033[1;37m'
40 | c_cyan='\033[1;36m'
41 | c_green='\033[1;32m'
42 | c_red='\033[0;31m'
43 | c_blue='\033[1;34m'
44 | c_yellow='\033[1;33m'
45 | fi
46 |
47 | # Pause (Getch)
48 | function pause(){
49 | read -p "Press any key to continue..."
50 | }
51 |
52 | # Read Configuration Files
53 | function read_config(){
54 | local cfgPath="$(pwd)/settings.cfg"
55 | if [ -a $cfgPath ]; then
56 | echo -e "\n${c_cyan}Reading ${c_green}config${c_cyan}...${c_default}" >&2
57 | source $cfgPath
58 | return
59 | else
60 | echo -e "\n${c_cyan}Creating ${c_green}default config${c_cyan}...${c_default}" >&2
61 | echo -ne "# General Settings\noutput_folder=\".\"\n\n# Project File Generation\ngen_intellij=0\ngen_eclipse=0\ngen_netbeans=0\ngen_ant=0" > $cfgPath
62 | source $cfgPath
63 | return
64 | fi
65 | }
66 |
67 | # Input validation.
68 | function validate_input(){
69 | local _true=1; local _false=0
70 | # Get the input.
71 | local _input=${1}
72 | # Same as above, but with
73 | # dashes and underscores.
74 | local _symbols=${2:-$_true}
75 | # Unless stated otherwise,
76 | # numbers will be allowed.
77 | local _numbers=${3:-$_true}
78 | # Finally, anything
79 | local _anything=${4:-$_false}
80 | if [ $_anything == $_true ]; then
81 | is_valid=1
82 | return
83 | fi
84 | # Escape some characters in the actual value.
85 | local _action=${_input//\$/\\\$}
86 | _action=${_action/\"/}
87 |
88 | # Begin assembling the expression.
89 | local _expr="sed -e 's/[a-zA-Z"
90 |
91 | ## If we allow numbers, add them in.
92 | if [ $_numbers == 1 ]; then
93 | _expr="${_expr}0-9"
94 | fi
95 |
96 | ## If we allow symbols, add them in.
97 | if [ $_symbols == 1 ]; then
98 | _expr="${_expr}_-"
99 | fi
100 |
101 | # Finish it off.
102 | _expr="${_expr}]//g'"
103 |
104 | # Now put it all together.
105 | local _result=""
106 | eval "_result=\$(echo -ne \"${_action}\" | ${_expr})"
107 | is_valid=$(( ${#_result} == 0 ? 1 : 0 ))
108 | return
109 | }
110 |
111 | # Our banner.
112 | echo -ne "${c_cyan} ___ _ _ _ _ _____ \n| |_) | | | | |_/ | |_/ | | | | \n|_|_) \\_\\_/ |_| \\ |_| \\ |_| |_| \n\n"
113 | echo -ne "${c_white} __ ____ _ ____ ___ __ _____ ___ ___ \n/ /\`_ | |_ | |\\ | | |_ | |_) / /\\ | | / / \\ | |_) \n\\_\\_/ |_|__ |_| \\| |_|__ |_| \\ /_/--\\ |_| \\_\\_/ |_| \\ \n\n"
114 |
115 | # Read in our configuration.
116 | read_config
117 |
118 | # Questions.
119 | echo -ne "${c_cyan}Author's name:${c_default} "; read USERNAME
120 | echo -ne "${c_cyan}Plugin's name:${c_default} "; read PLUGINNAME
121 | echo -ne "${c_cyan}Plugin Version (${c_default}0.1${c_cyan} by default):${c_default} "; read PLUGINVERSION
122 | PLUGINVERSION=${PLUGINVERSION:-0.1}
123 |
124 | # Validate the input.
125 | ## First user name.
126 | validate_input "$USERNAME" 0 # No underscores or slashes allowed.
127 | if [ $is_valid == 0 ]; then
128 | echo -e "${c_red}Error: ${c_white}The author's name can only be made up of letters and numbers.${c_default}"
129 | echo "Now exiting.."
130 | exit
131 | fi
132 | ## Next plugin name.
133 | validate_input "$PLUGINNAME" 0 0 # Nothing but letters here.
134 | if [ $is_valid == 0 ]; then
135 | echo -e "${c_red}Error: ${c_white}The plugin's name can only be made up of letters.${c_default}"
136 | echo "Now exiting.."
137 | exit
138 | fi
139 | ## Finally, the version.
140 | validate_input "$PLUGINVERSION" 1 1 1 # Put whatever you want here.
141 | if [ $is_valid == 0 ]; then
142 | PLUGINVERSION="0.1"
143 | fi
144 |
145 | # Set the filenames and paths.
146 | echo -e "${c_cyan}Generating ${c_green}manifest${c_cyan}..\n\n${c_white}Plugin: ${c_green}${PLUGINNAME}\n${c_white}Version: ${c_blue}${PLUGINVERSION}\n${c_white}Author: ${c_yellow}${USERNAME}${c_default}\n"
147 | BLOCKLISTENER=BlockListener.java
148 | YBLOCKLISTENER=${PLUGINNAME}BlockListener.java
149 | PLAYERLISTENER=PlayerListener.java
150 | YPLAYERLISTENER=${PLUGINNAME}PlayerListener.java
151 | PLUGIN=YPlugin.java
152 | YPLUGIN="${PLUGINNAME}.java"
153 | ENDPATH="${output_folder}/${PLUGINNAME}/src/${USERNAME}/${PLUGINNAME}"
154 | BINPATH="${output_folder}/${PLUGINNAME}/bin"
155 |
156 | # Create the output directories.
157 | mkdir -p "${ENDPATH}"
158 | mkdir -p "${BINPATH}"
159 |
160 | # Store our current path, then enter the output area.
161 | SCRIPTROOT=`pwd`
162 | cd "${ENDPATH}"
163 |
164 | # Create our plugin's YAML file.
165 | cd ../../../
166 | echo "name: $PLUGINNAME
167 |
168 | main: $USERNAME.$PLUGINNAME
169 |
170 | version: $PLUGINVERSION" > plugin.yml
171 |
172 | # Inform USERNAME on status.
173 | echo -e "${c_cyan}Generating ${c_green}Source Files${c_cyan}..${c_default}"
174 |
175 | # Copy the rest of the template files.
176 | cd "${SCRIPTROOT}"
177 | sed -e "s//$USERNAME/g" -e "s//$PLUGINNAME/g" "${SCRIPTROOT}/files/${BLOCKLISTENER}" > "${ENDPATH}/$YBLOCKLISTENER"
178 | sed -e "s//$USERNAME/g" -e "s//$PLUGINNAME/g" "${SCRIPTROOT}/files/${PLAYERLISTENER}" > "${ENDPATH}/$YPLAYERLISTENER"
179 | sed -e "s//$USERNAME/g" -e "s//$PLUGINNAME/g" "${SCRIPTROOT}/files/${PLUGIN}" > "${ENDPATH}/${PLUGINNAME}.java"
180 |
181 | # Project file generation.
182 |
183 | ## Eclipse
184 | if [ $gen_eclipse == 1 ]; then
185 | echo -e "${c_cyan}Generating ${c_green}Eclipse Project Files${c_cyan}..${c_default}"
186 | sed -e "s/{{PLUGINNAME}}/$PLUGINNAME/g" "${SCRIPTROOT}/projects/eclipse/.project" > "${output_folder}/${PLUGINNAME}/.project"
187 | cp "${SCRIPTROOT}/projects/eclipse/.classpath" "${output_folder}/${PLUGINNAME}/.classpath"
188 | fi
189 |
190 | ## IntelliJ
191 | if [ $gen_intellij == 1 ]; then
192 | echo -e "${c_cyan}Generating ${c_green}Intelli-J Project Files${c_cyan}..${c_default}"
193 | mkdir -p "${output_folder}/${PLUGINNAME}/.idea"
194 | echo -n "${PLUGINNAME}" > "${output_folder}/${PLUGINNAME}/.idea/.name"
195 | cp "${SCRIPTROOT}/projects/intellij/compiler.xml" "${output_folder}/${PLUGINNAME}/.idea/compiler.xml"
196 | cp "${SCRIPTROOT}/projects/intellij/encodings.xml" "${output_folder}/${PLUGINNAME}/.idea/encodings.xml"
197 | cp "${SCRIPTROOT}/projects/intellij/vcs.xml" "${output_folder}/${PLUGINNAME}/.idea/vcs.xml"
198 | cp "${SCRIPTROOT}/projects/intellij/project.iml" "${output_folder}/${PLUGINNAME}/${PLUGINNAME}.iml"
199 | sed -e "s/{{PLUGINNAME}}/$PLUGINNAME/g" "${SCRIPTROOT}/projects/intellij/modules.xml" > "${output_folder}/${PLUGINNAME}/.idea/modules.xml"
200 | sed -e "s/{{PLUGINNAME}}/$PLUGINNAME/g" "${SCRIPTROOT}/projects/intellij/workspace.xml" > "${output_folder}/${PLUGINNAME}/.idea/workspace.xml"
201 | fi
202 |
203 | ## NetBeans
204 | if [ $gen_netbeans == 1 ]; then
205 | echo -e "${c_cyan}Generating ${c_green}Netbeans Project Files${c_cyan}..${c_default}"
206 | mkdir -p "${output_folder}/${PLUGINNAME}/nbproject"
207 | mkdir -p "${output_folder}/${PLUGINNAME}/nbproject/private"
208 | cp "${SCRIPTROOT}/projects/netbeans/genfiles.properties" "${output_folder}/${PLUGINNAME}/nbproject/genfiles.properties"
209 | cp "${SCRIPTROOT}/projects/netbeans/private/private.properties" "${output_folder}/${PLUGINNAME}/nbproject/private/private.properties"
210 | sed -e "s/{{USERNAME}}/$USERNAME/g" -e "s/{{PLUGINNAME}}/$PLUGINNAME/g" "${SCRIPTROOT}/projects/netbeans/project.properties" > "${output_folder}/${PLUGINNAME}/nbproject/project.properties"
211 | sed -e "s/{{PLUGINNAME}}/$PLUGINNAME/g" "${SCRIPTROOT}/projects/netbeans/build-impl.xml" > "${output_folder}/${PLUGINNAME}/nbproject/build-impl.xml"
212 | sed -e "s/{{PLUGINNAME}}/$PLUGINNAME/g" "${SCRIPTROOT}/projects/netbeans/project.xml" > "${output_folder}/${PLUGINNAME}/nbproject/project.xml"
213 | fi
214 |
215 | ## Apache Ant
216 | if [ $gen_ant == 1 ]; then
217 | echo -e "${c_cyan}Generating ${c_green}Ant Build File${c_cyan}..${c_default}"
218 | sed -e "s/{{PLUGINNAME}}/$PLUGINNAME/g" "${SCRIPTROOT}/projects/ant/build.xml" > "${output_folder}/${PLUGINNAME}/build.xml"
219 | fi
220 |
221 | # Done
222 | echo -e "\n${c_cyan}~~~${c_green} Done! ${c_cyan}~~~${c_default}"
223 | echo -e "\n\n${c_yellow}NOTE: ${c_white}You will need to add a reference to wherever you keep Bukkit's jar file if you decided to generate an IDE project/build file. Look for this integrated into this script later.${c_default}\n"
224 | if [ $_OS -a $_OS != 'nt' ]; then
225 | pause
226 | fi
227 |
--------------------------------------------------------------------------------
/create.ps1:
--------------------------------------------------------------------------------
1 | # Set up our colors.
2 | $myHost = Get-Host
3 | $bColor = 'Cyan'
4 | $gColor = 'White'
5 | if ($myHost) {
6 | $ui = $myHost.UI.RawUI
7 | $ui.WindowTitle = 'BukkitMod Plugin Generator'
8 | switch($ui.BackgroundColor) {
9 | White {
10 | $gColor = 'Black'
11 | $bColor = 'DarkCyan'
12 | }
13 | default {
14 | $gColor = 'White'
15 | $bColor = 'Cyan'
16 | }
17 | }
18 | } else {
19 | $gColor = 'White'
20 | $bColor = 'Cyan'
21 | }
22 |
23 | # Aliases
24 | Set-Alias wh Write-Host
25 | Set-Alias rh Read-Host
26 | Set-Alias bp Bullet-Point
27 |
28 | # Get the directory of the current running script.
29 | function Get-ScriptDirectory {
30 | if (Test-Path variable:\hostinvocation) {
31 | $fullPath=$hostinvocation.MyCommand.Path
32 | } else {
33 | $fullPath=(get-variable myinvocation -scope script).value.Mycommand.Definition }
34 | if (Test-Path $fullPath) {
35 | return (Split-Path $fullPath)
36 | } else {
37 | $fullPath=(Get-Location).path
38 | Write-Warning ("Get-ScriptDirectory: Powershell Host <" + $Host.name + "> may not be compatible with this function, the current directory <" + $fullPath + "> will be used.")
39 | return $fullPath
40 | }
41 | }
42 |
43 | # For quick bullet-point type things.
44 | function Bullet-Point() {
45 | wh "+ " -ForegroundColor $gColor -NoNewline
46 | }
47 |
48 | # Check if config files exists. If it does, load it.
49 | function Get-Config($root) {
50 | wh "Checking for configuration file.." -ForegroundColor Green
51 | $configFile = Join-Path $root "settings.cfg"
52 | $Configuration = @{}
53 | if (Test-Path $configFile) {
54 | bp
55 | wh "Configuration exists." -ForegroundColor DarkGreen
56 | bp
57 | wh "Loading configuration.." -ForegroundColor DarkGreen
58 | $configData = Get-Content $configFile
59 | foreach ($line in $configData) {
60 | if ($line -cmatch '(?mx)^(?[^#=]+)=(?.*?)$') {
61 | $Configuration[$matches['key']] = $matches['value']
62 | }
63 | }
64 | bp
65 | wh "Configuration successfully loaded." -ForegroundColor DarkGreen
66 | } else {
67 | bp
68 | wh "Configuration does not exist. Creating it.." -ForegroundColor DarkGreen
69 | $configData = "# General Settings`noutput_folder='.'`n`n# Project File Generation`ngen_intellij=0`ngen_eclipse=0`ngen_netbeans=0`ngen_ant=0"
70 | Set-Content -Path $configFile -Value $configData
71 | bp
72 | wh "Done" -ForegroundColor DarkGreen
73 | }
74 |
75 | # Now go through and give a value to any that don't have one.
76 | if (!$Configuration['output_folder']) {
77 | $Configuration['output_folder'] = '.'
78 | } else {
79 | $Configuration['output_folder'] = $Configuration['output_folder'].Replace('"', '').Replace("'", '')
80 | }
81 | if (!$Configuration['gen_intellij']) {
82 | $Configuration['gen_intellij'] = 0
83 | }
84 | if (!$Configuration['gen_eclipse']) {
85 | $Configuration['gen_eclipse'] = 0
86 | }
87 | if (!$Configuration['gen_netbeans']) {
88 | $Configuration['gen_netbeans'] = 0
89 | }
90 | if (!$Configuration['gen_ant']) {
91 | $Configuration['gen_ant'] = 0
92 | }
93 |
94 | # And we're done.
95 | return $Configuration
96 | }
97 |
98 | # Our banner
99 | wh " ___ _ _ _ _ _____`n| |_) | | | | |_/ | |_/ | | | |`n|_|_) \_\_/ |_| \ |_| \ |_| |_|" -ForegroundColor $bColor
100 | wh " __ ____ _ ____ ___ __ _____ ___ ___`n/ /``_ | |_ | |\ | | |_ | |_) / /\ | | / / \ | |_)`n\_\_/ |_|__ |_| \| |_|__ |_| \ /_/--\ |_| \_\_/ |_| \`n" -ForegroundColor $gColor
101 |
102 |
103 | # Configuration
104 | $PSScriptRoot = Get-ScriptDirectory
105 | $config = Get-Config($PSScriptRoot)
106 |
107 | # Now for the questions..
108 | ## Author's Name
109 | wh "`nWe now need information on your plugin." -ForegroundColor $gColor
110 | bp
111 | wh "Author's Name" -NoNewline -ForegroundColor $bColor
112 | $authorName = rh ":"
113 | while($authorName.length -eq 0) {
114 | bp
115 | wh "Error: " -ForegroundColor Red -NoNewline
116 | wh "Value cannot be empty." -ForegroundColor $gColor
117 | bp
118 | wh "Author's Name" -NoNewline -ForegroundColor $bColor
119 | $authorName = rh ":"
120 | }
121 | ## Plugin's Name
122 | bp
123 | wh "Plugin's Name" -NoNewline -ForegroundColor $bColor
124 | $pluginName = rh ":"
125 | while($pluginName.length -eq 0) {
126 | bp
127 | wh "Error: " -ForegroundColor Red -NoNewline
128 | wh "Value cannot be empty." -ForegroundColor $gColor
129 | bp
130 | wh "Plugin's Name" -NoNewline -ForegroundColor $bColor
131 | $pluginName = rh ":"
132 | }
133 | ## Plugin's Version (Can be empty)
134 | bp
135 | wh "Plugin's Version " -NoNewline -ForegroundColor $bColor
136 | wh "(Default: 0.1)" -NoNewline -ForegroundColor Magenta
137 | $pluginVersion = rh ":"
138 | if(!$pluginVersion) {
139 | $pluginVersion = '0.1'
140 | }
141 |
142 | ## Let the code generation begin.
143 | wh "`nStarting Code Generation.." -ForegroundColor Green
144 |
145 | ## First, we need to set up the eventual paths.
146 | bp
147 | wh "Building Plugin Folder Structure.." -ForegroundColor DarkGreen
148 | $BLOCKLISTENER = "BlockListener.java"
149 | $YBLOCKLISTENER = $pluginName + $BLOCKLISTENER
150 | $PLAYERLISTENER = "PlayerListener.java"
151 | $YPLAYERLISTENER = $pluginName + $PLAYERLISTENER
152 | $PLUGIN = "YPlugin.java"
153 | $YPLUGIN = $pluginName + ".java"
154 | if ($config["output_folder"] -ceq '.') { $config["output_folder"] = Get-Location }
155 | $ENDPATH = Join-Path -Path $config["output_folder"] -ChildPath ($pluginName + "\src\com\bukkit\" + $authorName + "\" + $pluginName)
156 | $BINPATH = Join-Path -Path $config["output_folder"] -ChildPath ($pluginName + "\bin")
157 | $ROOTPATH = Join-Path -Path $config["output_folder"] -ChildPath $pluginName
158 | $buffer = mkdir -Force $ENDPATH
159 | $buffer = mkdir -Force $BINPATH
160 | $buffer = $null
161 |
162 | ## Generate manifest.
163 | bp
164 | wh "Generating Plugin Manifest" -ForegroundColor DarkGreen
165 | Set-Location -Path $ROOTPATH
166 | $content = "name: " + $pluginName + "`n`nmain: com.bukkit." + $authorName + "." + $pluginName + "`n`nversion: " + $pluginVersion
167 | $buffer = Set-Content -Path (Join-Path -Path $ROOTPATH -ChildPath "plugin.yml") -Value $content -Force
168 | $content = $null
169 | $buffer = $null
170 |
171 | ## Generate sources
172 | bp
173 | wh "Generating Plugin Source" -ForegroundColor DarkGreen
174 | Set-Location -Path $PSScriptRoot
175 | $buffer = Set-Content -Value (
176 | ([string]::join([environment]::newline,(Get-Content -Path (
177 | Join-Path -Path $PSScriptRoot -ChildPath ("files\" + $BLOCKLISTENER)
178 | )))).Replace("", $authorName).Replace("", $pluginName)
179 | ) -Path (Join-Path -Path $ENDPATH -ChildPath $YBLOCKLISTENER) -Force
180 | $buffer = Set-Content -Value (
181 | ([string]::join([environment]::newline,(Get-Content -Path (
182 | Join-Path -Path $PSScriptRoot -ChildPath ("files\" + $PLAYERLISTENER)
183 | )))).Replace("", $authorName).Replace("", $pluginName)
184 | ) -Path (Join-Path -Path $ENDPATH -ChildPath $YPLAYERLISTENER) -Force
185 | $buffer = Set-Content -Value (
186 | ([string]::join([environment]::newline,(Get-Content -Path (
187 | Join-Path -Path $PSScriptRoot -ChildPath ("files\" + $PLUGIN)
188 | )))).Replace("", $authorName).Replace("", $pluginName)
189 | ) -Path (Join-Path -Path $ENDPATH -ChildPath $YPLUGIN) -Force
190 |
191 | ## Generate project files.
192 | ### Eclipse
193 | if ($config["gen_eclipse"] -eq 1) {
194 | bp
195 | wh "Generating Eclipse Project.." -ForegroundColor DarkGreen
196 | $buffer = Set-Content -Value (
197 | ([string]::join([environment]::newline,(Get-Content -Path (
198 | Join-Path -Path $PSScriptRoot -ChildPath "projects\eclipse\.project"
199 | )))).Replace("{{PLUGINNAME}}", $pluginName)
200 | ) -Path (Join-Path -Path $ROOTPATH -ChildPath ".project") -Force
201 | $buffer = cp (Join-Path -Path $PSScriptRoot -ChildPath "projects\eclipse\.classpath") (Join-Path -Path $ROOTPATH -ChildPath ".classpath")
202 | }
203 | ### IntelliJ
204 | if ($config["gen_intellij"] -eq 1) {
205 | bp
206 | wh "Generating IntelliJ Project.." -ForegroundColor DarkGreen
207 | $buffer = mkdir -Force (Join-Path -Path $ROOTPATH -ChildPath ".idea")
208 | $buffer = cp (Join-Path -Path $PSScriptRoot -ChildPath "projects\intellij\compiler.xml") (Join-Path -Path $ROOTPATH -ChildPath ".idea\compiler.xml")
209 | $buffer = cp (Join-Path -Path $PSScriptRoot -ChildPath "projects\intellij\encodings.xml") (Join-Path -Path $ROOTPATH -ChildPath ".idea\encodings.xml")
210 | $buffer = cp (Join-Path -Path $PSScriptRoot -ChildPath "projects\intellij\vcs.xml") (Join-Path -Path $ROOTPATH -ChildPath ".idea\vcs.xml")
211 | $buffer = cp (Join-Path -Path $PSScriptRoot -ChildPath "projects\intellij\project.iml") (Join-Path -Path $ROOTPATH -ChildPath ($pluginName + ".iml"))
212 | $buffer = Set-Content -Value (
213 | ([string]::join([environment]::newline,(Get-Content -Path (
214 | Join-Path -Path $PSScriptRoot -ChildPath "projects\intellij\modules.xml"
215 | )))).Replace("{{PLUGINNAME}}", $pluginName)
216 | ) -Path (Join-Path -Path $ROOTPATH -ChildPath ".idea\modules.xml") -Force
217 | $buffer = Set-Content -Value (
218 | ([string]::join([environment]::newline,(Get-Content -Path (
219 | Join-Path -Path $PSScriptRoot -ChildPath "projects\intellij\workspace.xml"
220 | )))).Replace("{{PLUGINNAME}}", $pluginName)
221 | ) -Path (Join-Path -Path $ROOTPATH -ChildPath ".idea\workspace.xml") -Force
222 | }
223 | ### Netbeans
224 | if ($config["gen_netbeans"] -eq 1) {
225 | bp
226 | wh "Generating Netbeans Project.." -ForegroundColor DarkGreen
227 | $buffer = mkdir -Force (Join-Path -Path $ROOTPATH -ChildPath "nbproject\private")
228 | $buffer = cp (Join-Path -Path $PSScriptRoot -ChildPath "projects\netbeans\genfiles.properties") (Join-Path -Path $ROOTPATH -ChildPath "nbproject\genfiles.properties")
229 | $buffer = cp (Join-Path -Path $PSScriptRoot -ChildPath "projects\netbeans\private\private.properties") (Join-Path -Path $ROOTPATH -ChildPath "nbproject\private\private.properties")
230 | $buffer = Set-Content -Value (
231 | ([string]::join([environment]::newline,(Get-Content -Path (
232 | Join-Path -Path $PSScriptRoot -ChildPath "projects\netbeans\project.properties"
233 | )))).Replace("{{USERNAME}}", $authorName).Replace("{{PLUGINNAME}}", $pluginName)
234 | ) -Path (Join-Path -Path $ROOTPATH -ChildPath "nbproject\project.properties") -Force
235 | $buffer = Set-Content -Value (
236 | ([string]::join([environment]::newline,(Get-Content -Path (
237 | Join-Path -Path $PSScriptRoot -ChildPath "projects\netbeans\build-impl.xml"
238 | )))).Replace("{{PLUGINNAME}}", $pluginName)
239 | ) -Path (Join-Path -Path $ROOTPATH -ChildPath "nbproject\build-impl.xml") -Force
240 | $buffer = Set-Content -Value (
241 | ([string]::join([environment]::newline,(Get-Content -Path (
242 | Join-Path -Path $PSScriptRoot -ChildPath "projects\netbeans\project.xml"
243 | )))).Replace("{{PLUGINNAME}}", $pluginName)
244 | ) -Path (Join-Path -Path $ROOTPATH -ChildPath "nbproject\project.xml") -Force
245 | }
246 | ### Ant
247 | if ($config["gen_ant"] -eq 1) {
248 | bp
249 | wh "Generating Ant Build Files.." -ForegroundColor DarkGreen
250 | $buffer = Set-Content -Value (
251 | ([string]::join([environment]::newline,(Get-Content -Path (
252 | Join-Path -Path $PSScriptRoot -ChildPath "projects\ant\build.xml"
253 | )))).Replace("{{PLUGINNAME}}", $pluginName)
254 | ) -Path (Join-Path -Path $ROOTPATH -ChildPath "build.xml") -Force
255 | }
256 |
257 | bp
258 | wh "Plugin generation finished!" -ForegroundColor DarkGreen
259 | wh "`n`nNOTE:" -ForegroundColor Yellow -NoNewline
260 | wh " You will need to add a reference to wherever you keep Bukkit's jar file if you decided to generate an IDE project/build file. Look for this integrated into this script later." -ForegroundColor White
--------------------------------------------------------------------------------
/libw/etc/termcap:
--------------------------------------------------------------------------------
1 | #### Specials
2 | #
3 | # Special "terminals". These are used to label tty lines when you don't
4 | # know what kind of terminal is on it. The characteristics of an unknown
5 | # terminal are the lowest common denominator - they look about like a ti 700.
6 | # The last one, "other", is like unknown but it allows an escape from software
7 | # that insists that a "real" unknown terminal is merely so far unspecified.
8 | #
9 |
10 | dumb:\
11 | :am:\
12 | :co#80:\
13 | :bl=^G:cr=^M:do=^J:sf=^J:
14 | unknown:\
15 | :gn:\
16 | :tc=dumb:
17 | other|none of the above, but not exactly unknown:\
18 | :am:gn:\
19 | :co#80:\
20 | :cl=^M^J:do=^J:ho=^M:
21 |
22 | arpanet|bussiplexer|dialup|ethernet|network|net|patch|plugboard|switch|network switch or dialup:\
23 | :tc=unknown:
24 | lpr|printer|print|printing|line printer:\
25 | :hc:os:\
26 | :co#132:li#66:\
27 | :bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
28 |
29 | #### ANSI terminals and terminal emulators
30 | #
31 | # See near the end of this file for details on ANSI conformance.
32 | # Don't mess with these entries! Lots of other entries depend on them!
33 | #
34 | # This section lists entries in a least-capable to most-capable order.
35 | # if you're in doubt about what `ANSI' matches yours, try them in that
36 | # order and back off from the first that breaks.
37 |
38 | # (ansi: changed ":pt:" to ":it#8:" -- esr)
39 | ansi-mini|any ansi terminal with pessimistic assumptions:\
40 | :am:bs:\
41 | :co#80:it#8:li#24:\
42 | :ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:do=\E[B:\
43 | :ho=\E[H:le=\E[D:nd=\E[C:up=\E[A:
44 |
45 | # Color controls corresponding to the ANSI.SYS de-facto standard
46 | # (This is not a standalone entry)
47 | ansi-pc-color:\
48 | :Co#8:NC#3:pa#64:\
49 | :AB=\E[4%p1%dm:AF=\E[3%p1%dm:\
50 | :..Sb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
51 | :..Sf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m:\
52 | :op=\E[37;40m:
53 |
54 | # Procomm and some other ANSI emulations don't recognize all of the ANSI-
55 | # standard capabilities. This entry deletes cuu, cuf, cud, cub, and vpa/hpa
56 | # capabilities, forcing curses to use repetitions of cuu1, cuf1, cud1 and cub1.
57 | # Also deleted ich and ich1, as QModem up to 5.03 doesn't recognize these.
58 | # Finally, we delete rep and ri, which seem to confuse many emulators.
59 | # On the other hand, we can count on these programs doing rmacs/smacs/sgr.
60 | # From: Eric S. Raymond July 25 1995
61 | pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode):\
62 | :am:bs:mi:ms:pt:\
63 | :co#80:it#8:li#24:\
64 | :ae=\E[10m:al=\E[L:as=\E[12m:bl=^G:bt=\E[Z:cd=\E[J:\
65 | :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:ct=\E[2g:\
66 | :dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H:kb=^H:kd=\E[B:\
67 | :kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=\E[D:mb=\E[5m:\
68 | :md=\E[1m:me=\E[0m:mk=\E[9m:mr=\E[7m:nd=\E[C:\
69 | :..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p8%t;11%;%?%p9%t;12%;m:\
70 | :se=\E[m:sf=^J:so=\E[7m:st=\EH:ta=^I:ue=\E[m:up=\E[A:\
71 | :us=\E[4m:
72 | pcansi-mono25|ibm-pc terminal programs with 25 lines (mono mode):\
73 | :li#25:\
74 | :tc=pcansi-mono:
75 | pcansi-mono33|ibm-pc terminal programs with 33 lines (mono mode):\
76 | :li#33:\
77 | :tc=pcansi-mono:
78 | pcansi-mono43|ibm-pc terminal programs with 43 lines (mono mode):\
79 | :li#43:\
80 | :tc=pcansi-mono:
81 | # The color versions. All PC emulators do color...
82 | pcansi|ibm-pc terminal programs claiming to be ansi:\
83 | :tc=ansi-pc-color:tc=pcansi-mono:
84 | pcansi-25|ansi25|ibm-pc terminal programs with 25 lines:\
85 | :li#25:\
86 | :tc=pcansi:
87 | pcansi-33|ansi33|ibm-pc terminal programs with 33 lines:\
88 | :li#33:\
89 | :tc=pcansi:
90 | pcansi-43|ansi43|ibm-pc terminal programs with 43 lines:\
91 | :li#43:\
92 | :tc=pcansi:
93 |
94 | # From: Eric S. Raymond Feb 3 1995
95 | # ansi-mono -- full X.364 with ANSI.SYS-compatible attributes, no color.
96 | # Function-key mappings aren't in X3.64 but these are pretty standard.
97 | # If you want pound signs rather than dollars, replace `B' with `A'
98 | # in the s?ds capabilities.
99 | ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes:\
100 | :5i:\
101 | :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:F1=\E[W:\
102 | :F2=\E[X:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:SF=\E[%dS:\
103 | :SR=\E[%dT:UP=\E[%dA:cb=\E[1K:ch=\E[%dG:ct=\E[2g:\
104 | :cv=\E[%dd:ec=\E[%dX:ei=:im=:k1=\E[M:k2=\E[N:k3=\E[O:\
105 | :k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:\
106 | :k;=\E[V:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:\
107 | :kr=\E[C:ku=\E[A:me=\E[0;10m:nw=\r\E[S:pf=\E[4i:\
108 | :po=\E[5i:..rp=%p1%c\E[%p2%{1}%-%db:s0=\E(B:s1=\E)B:\
109 | :s2=\E*B:s3=\E+B:\
110 | :..sa=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p8%t;11%;%?%p9%t;12%;m:\
111 | :ta=\E[I:tc=pcansi:
112 |
113 | # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
114 | # standard terminfo. Assumes ANSI.SYS-compatible attributes and color
115 | # From: Eric S. Raymond Feb 12 1995
116 | ansi|ansi/pc-term compatible with color:\
117 | :u6=\E[%d;%dR:u7=\E[6n:..u8=\E[?%[;0123456789]c:\
118 | :u9=\E[c:tc=ansi-pc-color:tc=ansi-mono:
119 |
120 | #
121 | # ANSI.SYS entries
122 | #
123 | # Cannot use :pt:, it does not work (why?). :ho: seems required (why?). [gts]
124 | # Caution: 4.3 BSD tset does not pass li#25 to stty rows except during login?
125 | # :cl: clears attributes and sets wrap at margin before clearing the screen.
126 | # (ansi.sys: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
127 | # From: greg small
128 | ansi.sys|ansisys|PC-DOS 3.1 ANSI.SYS:\
129 | :am:bs:ms:\
130 | :co#80:li#25:\
131 | :ae=\E[10:as=\E[12:ce=\E[K:cl=\E[m\E[7h\E[2J:\
132 | :cm=\E[%i%d;%dH:ho=\E[H:\
133 | :is=U1 PC-DOS 3.1 ANSI.SYS 9-23-86\n\E[m\E[7h:kd=^J:\
134 | :kh=^^:kl=^H:kr=^L:ku=^K:md=\E[1m:me=\E[0;10m:\
135 | :mr=\E[7m:nd=\E[C:se=\E[m:so=\E[1m:ue=\E[m:up=\E[A:\
136 | :us=\E[4m:
137 | #
138 | # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
139 | # This should only be used when the terminal emulator cannot redefine the keys.
140 | # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
141 | # definitions must be restored. If the terminal emulator is quit while in vi
142 | # or others using :ks:ke:, the keypad keys will not be defined as per PC-DOS.
143 | # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
144 | # (^U and ^D are already defined for tn3270). The ESC is safe for vi but it
145 | # does "beep". ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
146 | # Left arrow is always BS, because PC-dos can tolerate this change.
147 | # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
148 | # Consequently the End keypad key could not be set (it is relatively safe and
149 | # actually useful because it sends ^@ O, which beeps and opens a line above).
150 | ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi:\
151 | :is=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:\
152 | :ke=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p:\
153 | :ks=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p:tc=ansi.sys:
154 | #
155 | # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
156 | nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS:\
157 | :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
158 | :is=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n:tc=ansi.sys:
159 | #
160 | # See ansi.sysk and nansi.sys above.
161 | nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi:\
162 | :al=\E[1L:dc=\E[1P:dl=\E[1M:ei=:ic=\E[1@:im=:\
163 | :is=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p:tc=ansi.sysk:
164 |
165 | cygwin:\
166 | :xn@:op=\E[39;49m:Km=\E[M:tc=linux:
167 |
168 | msys:\
169 | :xn@:op=\E[39;49m:Km=\E[M:tc=linux:tc=rxvt:
170 |
171 | #### ANSI console types
172 | #
173 |
174 | # This entry is good for the 1.1.47 version of the Linux console driver.
175 | #
176 | # It assumes that you want A_PROTECT mapped to the alternate character set
177 | # mode that permits IBM ROM characters to be displayed (this is the assumption
178 | # used by ncurses version 1.9 and after, in order not to collide with the
179 | # internationalization attribute values specified in the XSI Curses standard).
180 | #
181 | # We use \E11m for rmacs rather than \E12m so the acsc string can use the ROM
182 | # graphics for control characters such as the diamond, up arrow and down-arrow.
183 | # This trick could work with other Intel consoles like the att6386 and pc3.
184 | #
185 | # Note: there are numerous broken linux entries out there, which didn't screw
186 | # up BSD termcap but hose ncurses's smarter cursor-movement optimization.
187 | # One common pathology is an incorrect tab length of 4. Also note that the
188 | # hpa=\E[%dG/vpa=\E[%dd capabilities seem not to be reliable. To reproduce
189 | # the bug, re-introduce them and run worm -T 200 212 from the ncurses
190 | # test suite, save the trace, then worm -N -T 200 212. Observe that the first
191 | # run fails to properly delete some worm segments, then diff the trace files.
192 | #
193 | # From: Eric S. Raymond 23 July 1995
194 | linux|linux console:\
195 | :am:bs:eo:mi:ms:ut:xn:xo:\
196 | :Co#8:co#80:it#8:li#25:pa#64:\
197 | :&7=^Z:@7=\E[4~:kh=\E[1~:kH=\E[4~:AB=\E[4%dm:AF=\E[3%dm:\
198 | :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:F1=\E[23~:F2=\E[24~:\
199 | :F3=\E[25~:F4=\E[26~:F5=\E[28~:F6=\E[29~:F7=\E[31~:\
200 | :F8=\E[32~:F9=\E[33~:FA=\E[34~:IC=\E[%d@:K2=\E[G:\
201 | :S2=\E[11m:S3=\E[10m:Sb=\E[%+(m:Sf=\E[%+^^m:\
202 | :ac=`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~q\304r\362s_t\303u\264v\301w\302x\263y\371z\372{\373|\374}\375~\376.\031-\030\054\021+^P0\333:\
203 | :ae=\E[10m:al=\E[L:as=\E[11m:bl=^G:cd=\E[J:ce=\E[K:\
204 | :cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
205 | :ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:\
206 | :ic=\E[@:im=\E[4h:k1=\E[[A:k2=\E[[B:k3=\E[[C:\
207 | :k4=\E[[D:k5=\E[[E:k6=\E[17~:k7=\E[18~:k8=\E[19~:\
208 | :k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
209 | :kP=\E[5~:kb=^H:kd=\E[B:kh=\E[1~:kl=\E[D:kr=\E[C:\
210 | :ku=\E[A:le=^H:mb=\E[5m:md=\E[1m:me=\E[0;10m:\
211 | :mr=\E[7m:nd=\E[C:nw=^M^J:op=\E[37;40m:r1=\Ec:rc=\E8:\
212 | :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
213 | :u6=\E[%d;%dR:u7=\E[6n:u8=\E[?6c:u9=\E[c:ue=\E[24m:\
214 | :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:\
215 | :vi=\E[?25l:
216 | linux-mono|Linux console, no color:\
217 | :Co@:pa@:\
218 | :AB@:Sb@:Sf@:tc=linux:
219 |
220 | # Reconstructed via infocmp from file: /usr/local/share/terminfo/r/rxvt
221 | rxvt|rxvt terminal emulator (X Window System):\
222 | :am:eo:km:mi:ms:xn:xo:\
223 | :co#80:it#8:li#24:\
224 | :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
225 | :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
226 | :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
227 | :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
228 | :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
229 | :ho=\E[H:i1=\E[?47l\E=\E[?1l:ic=\E[@:im=\E[4h:\
230 | :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l:\
231 | :k0=\E[21~:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:\
232 | :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:\
233 | :kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=^H:kd=\E[B:ke=\E>:\
234 | :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\
235 | :md=\E[1m:me=\E[m\017:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:\
236 | :se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
237 | :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[24m:up=\E[A:\
238 | :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
239 | :vs=\E[?25h:
240 |
241 |
242 | # Reconstructed via infocmp from file: /usr/local/share/terminfo/v/vt100
243 | vt100|vt100-am|dec vt100 (w/advanced video):\
244 | :am:ms:xn:xo:\
245 | :co#80:it#8:li#24:vt#3:\
246 | :DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
247 | :LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:as=^N:bl=^G:cd=\E[J:\
248 | :ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:\
249 | :ct=\E[3g:do=^J:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
250 | :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:kb=^H:\
251 | :kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
252 | :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
253 | :nd=\E[C:rc=\E8:\
254 | :..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
255 | :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
256 | :up=\E[A:us=\E[4m:
257 |
258 | # Reconstructed via infocmp from file: /usr/share/terminfo/x/xterm-r6
259 | xterm-r6|xterm|xterm X11R6 version:\
260 | :am:km:mi:ms:xn:\
261 | :co#80:it#8:li#24:\
262 | :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:\
263 | :RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:\
264 | :ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:\
265 | :cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:\
266 | :ho=\E[H:im=\E[4h:\
267 | :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
268 | :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
269 | :k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:\
270 | :kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E[1~:kl=\EOD:kr=\EOC:\
271 | :ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:\
272 | :nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
273 | :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:\
274 | :us=\E[4m:
275 |
--------------------------------------------------------------------------------
/projects/intellij/workspace.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 | localhost
173 | 5050
174 |
175 |
176 |
177 |
178 |
179 | 1295695893612
180 | 1295695893612
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
--------------------------------------------------------------------------------
/projects/netbeans/build-impl.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 | Must set build.dir
149 | Must set dist.dir
150 | Must set build.classes.dir
151 | Must set build.classes.excludes
152 | Must set dist.jar
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 | Must set javac.includes
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
339 |
340 |
341 |
342 |
343 |
344 |
345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 |
353 |
354 |
355 |
356 |
357 |
358 |
359 |
360 |
361 |
362 |
363 |
364 |
365 |
366 |
367 |
368 |
369 |
370 |
371 |
372 |
373 |
374 |
375 |
376 |
377 |
378 |
379 |
380 |
381 |
382 |
383 |
384 |
385 |
386 |
387 |
388 |
389 |
390 |
391 |
392 |
393 |
394 |
395 |
396 |
397 |
398 |
399 |
400 |
401 |
402 |
403 |
404 |
405 |
406 |
407 |
408 |
409 |
410 |
411 |
412 |
413 |
414 |
415 |
416 |
417 |
418 |
423 |
424 |
425 |
426 |
427 |
428 |
429 |
430 |
431 |
432 |
433 |
434 |
435 |
436 |
437 |
438 |
439 |
440 |
441 |
442 |
443 |
444 |
445 |
446 |
447 |
448 |
449 |
450 |
451 |
452 |
453 |
454 |
455 |
456 |
457 |
458 |
459 |
460 |
461 |
462 |
463 |
464 |
465 |
466 |
467 |
468 |
469 |
470 |
471 |
472 |
473 |
474 |
475 |
476 |
477 |
478 |
479 |
480 |
481 | Must select some files in the IDE or set javac.includes
482 |
483 |
484 |
485 |
486 |
487 |
488 |
489 |
490 |
495 |
496 |
497 |
498 |
499 |
500 |
501 |
502 |
503 |
504 |
505 |
506 |
507 |
508 |
509 |
510 |
511 |
512 |
513 |
514 |
515 | To run this application from the command line without Ant, try:
516 |
517 |
518 |
519 |
520 |
521 |
522 | java -cp "${run.classpath.with.dist.jar}" ${main.class}
523 |
524 |
525 |
526 |
527 |
528 |
529 |
530 |
531 |
532 |
533 |
534 | To run this application from the command line without Ant, try:
535 |
536 | java -jar "${dist.jar.resolved}"
537 |
538 |
539 |
540 |
541 |
542 |
543 |
544 | To run this application from the command line without Ant, try:
545 |
546 | java -jar "${dist.jar.resolved}"
547 |
548 |
549 |
550 |
551 |
552 |
553 |
558 |
559 |
560 |
561 |
562 |
563 |
564 |
565 |
566 |
567 |
568 |
569 | Must select one file in the IDE or set run.class
570 |
571 |
572 |
577 |
578 |
579 |
580 |
581 |
582 |
583 |
584 |
585 |
586 |
587 |
588 |
589 |
590 |
591 |
592 |
593 | Must select one file in the IDE or set debug.class
594 |
595 |
596 |
597 |
598 | Must set fix.includes
599 |
600 |
601 |
602 |
603 |
604 |
605 |
610 |
611 |
612 |
613 |
614 |
615 |
616 |
617 |
618 |
619 |
620 |
621 |
622 |
623 |
624 |
625 |
626 |
627 |
628 |
629 |
630 |
631 |
632 |
633 |
634 |
635 |
636 |
637 |
638 |
639 |
640 |
641 |
642 |
643 |
644 |
645 |
646 |
647 |
648 |
649 |
650 |
651 |
652 |
--------------------------------------------------------------------------------