Am Dienstag, den 09.03.2010, 10:08 -0600 schrieb Douglas E. Engert:

> The Java "ant" program is used much like make and it looks at the
> built.html much like a Makefile. The target to build is dist if using \
> the cvs source. so type:
> ant dist

This worked, thanks a lot. Now I'm using IntelliJ Community Edition
which can handle ant build scripts as well.

> The accounts end up in the user's $HOME/jxplorer/connections.txt file.
> There is also the gssapi.conf and jxconfig.txt files. On Windows these
> are under %USERPROFILE%\jxplorer.

This is a problem for applets...

> > Can jxplorer be built as a java-applet and/or be integrated in some  
> > other way into a web page? My Java knowledge is pretty limited, so I  
> > need a hint on wether it's possible at all and where to look.
> > 
> 
> Don't know. But its dependencis on the jxplorer directory, and use
> of the optional gssapi, might make it difficult to convert to an applet.
> The applet might contain the connections, and take the defaults for the
> jxconfig.txt so these files would not be needed. The gssapi.conf
> is also generated as needed, so it might not be needed either.

With the instructions from 

<http://www.dreamincode.net/forums/index.php?showtopic=28410>

I managed to build a small wrapper class for the sole purpose to get it
running as an applet. With a hefty policy file to avoid security
exceptions it runs in the applet viewer for now. Next steps will be to
get rid of the mandatory dependencies on files in the user's file
system.

To my disappointment I learned Java doesn't know the concept of
conditional code. No #ifdef ! Uh.

The page at

<http://www.javapractices.com/topic/TopicAction.do?Id=64>

claims it's possible to slim down the .jar's size by simple if()'s in
conjunction with static booleans. I have to confirm this works, yet. If
this fails, there's a method described at

<http://weblogs.java.net/blog/2005/01/20/how-do-conditional-compilation-java>

Not elegant, but this might be the only solution short of forking and
deleting parts of the whole codebase.

Please let me know wether I should prepare patches for the open source
project. As the the result will go to a public web page I'll have to
publish the code anyways, but getting it merged into the existing
repository is different story, as you likely know.


Cheers,
Markus

- - - - - - - - - - - - - - - - - - -
Markus Hitter
1. Vorsitzender DULSV

fon: +49 7551 945-220
http://www.dulsv.de/

In der Breite 27
78354 Sipplingen



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jxplorer-devel mailing list
Jxplorer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-devel

Reply via email to