De: Bob Hanson <[EMAIL PROTECTED]>
>Bothers me that build.xml didn't catch that change and see that it had 
>to recompile the app class file. I really don't understand why it 
>compiled for me but not you.

It's because I didn't see the error with build.xml, but with Eclipse built-in 
build. I rarely use build.xml (only to create the jars, deal with i18n, or 
create the docs for the website), because  only Eclipse build is required to 
run Jmol from Eclipse. It's also a lot faster than build.xml.
You should try forgetting build.xml ;)

Since you are using Eclipse, you should see the problem (little icons -red 
cross, warning- on the project and files)
Eclipse compiles (automatically or manually depending on how you configure it) 
every Java file, and maintains the dependencies, so everything that should be 
compiled is compiled.


And now, a few tips on Eclipse and dealing with errors and warnings :)


There's a view called "Problems" (should be displayed by default in the Java 
perspective) that lists all the errors and warnings.
When modifying Jmol source, try to have no error and no warning (except the few 
ones already existing), it's a lot better to have a project free of errors and 
warnings.

One of the reasons I like Eclipse is that it generates a lot of warnings and 
errors, and that it automatically provides several solutions for most of the 
problems: double-click on the problem to open the source file at the correct 
line, and left click on the icon in the left margin of the source file to get a 
popup menu with possibles solutions of the problem.


Nico



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to