Two
SwiXml, is a small GUI generating engine for Java applications and applets.
Install / Use
/learn @swixml/TwoREADME
$Id: readme.txt,v 1.3 2015/01/01, 05:05:06 wolfpaulus Exp $
Introduction
See the web site http://www.swixml.org
Installing the build tools
The SWIXML build system is based on Ant, which is a Java building tool originally developed for the Jakarta Tomcat project but now used in many other Apache projects and extended by many developers.
Ant is a little but very handy tool that uses a build file written in XML (build.xml) as building instructions. For more information refer to "http://ant.apache.org".
The only thing that you have to make sure of is that the "JAVA_HOME" environment property is set to match the top level directory containing the JVM you want to use.
Building instructions
Ok, let's build the code. First, make sure your current working directory is where the build.xml file is located. Then type
ant
- or - ant distribution
if everything is right and all the required packages are visible, this action will generate a file called "swixml.jar" in the "./build" directory. Note, that if you do further development, compilation time is reduced since Ant is able to detect which files have changed and recompile them as needed.
If something went wrong, go to the Swixml forum, available at the swixml web site.at
http://www.swixml.org/forum/
Build targets
The build system is not only responsible for compiling SWIXML into a jar file, but is also responsible for creating the HTML documentation in the form of javadocs.
These are the meaningful targets for this build file:
- package [default] -> creates ./build/swixml.jar
- compile -> compiles the source code
- samples -> compiles example code
- javadoc -> generates the API documentation in ./build/javadocs
- distribution -> builds everything, incl. jar, javadoc, tagdoc, xsd, etc. etc.
- clean -> restores the distribution to its original and clean state
For example, to build the samples, type
build samples
To learn the details of what each target does, read the build.xml file.
It is quite understandable.
Best, Wolf Paulus and the Swixml Dev. Team.
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
