|
From: David D. <hap...@hu...> - 2006-07-16 20:43:15
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Leif,<br>
<br>
Yeah, I saw that (dialog size) and forgot to include it in the bugs
section.<br>
<br>
I was planning on using Tabs for the separation of the different
parts, and I believe that having a restart button would certainly be a
good option. Tracking changed and unchanged properties (and
identifying those which can and can't be used with a "Restart") would
simply be another field to be tracked by the Setting.class.<br>
Documentation would not be difficult to include--that's a good
point. I'll get cracking on it. I'm already using Swing, so that's
not difficult.<br>
I'll collect any other ideas and try to get another version out in
the next week or so.<br>
<br>
Errr...I assume that it's actually functioning correctly for
everyone out there? Looks are fine, but if it doesn't perform it's
basic task, it's still broken.<br>
<br>
David<br>
<br>
Leif Mortenson wrote:
<blockquote cite="mid...@ta..." type="cite">
<pre wrap="">David,
On my system when I attempt to add a property, I get a dialog which
only shows me a
comment field. If I manually resize the dialog then I figured out that
a property name and
value is also available. You need to change the default dialog size.
Ideas:
One thing that you could easily do with Java is to have a simple
help dialog for each
property. If you are using Swing, you can show HTML content in a
label. Maybe add
property documentation by simply loading the content of the property's
documention
from the wrapper web site. You could probably even do some simple
manipulation of
the HTML to strip out the menus etc to get the simple content text. If
you want to play
with your own style sheets, you could also build local documentation
based on the
documention source files in the wrapper source distributions.
To make this really useful, it would be nice to have things set up
in such a way as to help
users discover what is available when configuring the wrapper. Rather
than a structured
editor, maybe set it up as a Windows style tab dialog. Tabs would be
"JVM configuration",
"Classpath", "Application Configuration", "Logging", etc.
The users would not have to necessarily see the actual properties.
If you automatically add the wrapper.commandfile and
wrapper.restart.reload_configuration
properties, you could do things like restarting the wrapper to update
its configuration all
from within your tool. Note that not all properties are reloadable.
A great configuration tool would be a good addition to the Wrapper.
I am looking
forward to seeing where you take this.
Cheers,
Leif
David Days wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Leif (and anyone else interested.)
I've placed the Jar file on my company site (please excuse the
sparseness if you look around) at:
<a class="moz-txt-link-freetext" href="http://www.tdcs.cc/apps/jswconf/JSWConf.jar">http://www.tdcs.cc/apps/jswconf/JSWConf.jar</a> (for some reason,
capitalization is important when specifying the file)
My hosting service is reluctant to add the mime-type for Java Web
Start, but you can download the JNLP file and get any updates using
the following:
<a class="moz-txt-link-freetext" href="http://www.tdcs.cc/apps/JSWConf.jnlp">http://www.tdcs.cc/apps/JSWConf.jnlp</a> (again, caps seem to be
important to the hosting service)
Running: Either use the jnlp file or enter "java -jar
JSWConf.jar" That's it!
Usage:
* Select the file using the "Load" button
* The list of configuration properties is in the lower window:
Green indicates enabled files, Red indicates disables (commented
out)
* Select a property and the property, value, state
(enabled/disabled), and comments will be displayed in the top panel.
* Changes made are instantaneous
* "Add" places the new property below the currently selected one.
* "Remove" deletes the currently selected property.
* If you want to go back to the originally loaded configuration,
select "Reload"
* Click "Save" and the file will be written back to the same place
you loaded it from.
* Empty property settings (anything with a blank before the "=")
are dropped when writing the output.
Bugs/Shortcomings/"Gee, I'd like it to do this..."/Next version
(or so)
* Everything has to be manually entered: No auto fill of jars, no
file selection (yet), no automatic use of environment settings
* No pre-select list of properties (simple enough to do, probably
in the next version)
* Needs to split up the properties into their relevant sections
(JVM, Application Params, Service config, etc)
* No GPL Notice within the application yet, but I'm going on
record as saying that anyone who wants to grab it, mod it, and
use it in accordance with the GPL has my blessing.
* Even an unmodded wrapper.conf file looks slightly different
("diff original-wrapper.conf saved-wrapper.conf" makes it seem
as if nothing is the same), but appears to follow the observable
conventions of the sample wrapper.conf. This is basically a
reverse-engineer job--if anyone can direct me to the
documentation for the "standard" I'll try to make it compliant
to the letter.
I've had the IO function repeatedly crunch through a file 100
times (load and unload) and the output is consistent. If anyone has
any weirdness show up, please let me know. I've tried hard to stamp
out unwanted padding and such, but I may have missed something.
As always, feel free to pass on criticisms, complaints, faint
praise, left-handed compliments, and cash bribes. :-)
Hope this helps.
David Days
"Never confuse movement with action."
--Hemingway
</pre>
<blockquote type="cite">
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">------------------------------------------------------------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
<a class="moz-txt-link-freetext" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a>
------------------------------------------------------------------------
_______________________________________________
Wrapper-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wra...@li...">Wra...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wrapper-user">https://lists.sourceforge.net/lists/listinfo/wrapper-user</a>
</pre>
</blockquote>
<pre wrap=""><!---->
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
<a class="moz-txt-link-freetext" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a>
_______________________________________________
Wrapper-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wra...@li...">Wra...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wrapper-user">https://lists.sourceforge.net/lists/listinfo/wrapper-user</a>
</pre>
</blockquote>
</body>
</html>
|