java is a strange world. I am use to ./configure && make && make install. edit a config file or two, then run it. Not so with java.
First you have ant, which is java’s answer to configure && make apparently. But instead of
they decided that
java -Dant org.apache.tools.ant.Main -DFOO=true
is better. Obviously for some definition of ‘better’ other than mine.
Now I need tomcat and servlets running. Its simple really, but there is no info on tomcat’s site. Apparently all you do is copy the file.war to /opt/tomcat5/webapps then go to http://yoursite.foo:8080/file/ is there any info out ther for this? no
of course my fav is the errors, for example typing ant in the src dir gives you:
Traceback (most recent call last):
File “/usr/bin/java-config”, line 123, in ?
File “/usr/bin/java-config”, line 41, in run
File “/usr/lib/python2.4/site-packages/java_config/jc_options.py”, line 337, in __call__
File “/usr/lib/python2.4/UserDict.py”, line 17, in __getitem__
def __getitem__(self, key): return self.data[key]
Of course this is a distro issue, I think. But I have never seen an error message so arcane from configure. Its usually “can’t file libfoo.so”
It would be really nice if languages didn’t require an entirely new support infrastructure.