Classpath Wildcards


Since JavaOne slides were posted, I've been trying go through what I've missed during the conference. Dolphin (Java 7 or whatever it will be called) should attack the "Jar-hell" problem (I feel your pain too) with JSR 277. In the mean time you'll get things like this in Mustang (Java 6) in 2006:

% javac -cp .:./lib/jsfcl.jar \\
      :./lib/jsf-api.jar \\
      :./lib/jsf-impl.jar \\
      :./lib/portlet.jar \\
      :./lib/rowset.jar \\
      :./lib/sqlx.jar \\
      :./lib/errorhandler.jar    Application.java
% javac -cp '.:./lib/\*.jar' Application.java


Not sure it helps with complex situation (may actually burden in some cases), but I'm sure many will enjoy this. Much more to read in Mark Reinhold's TS-7264 presentation.

Comments:

Post a Comment:
Comments are closed for this entry.
About

This blog has moved

Alexis Moussine-Pouchkine's Weblog

GlassFish - Stay Connected

Search

Archives
« juillet 2014
lun.mar.mer.jeu.ven.sam.dim.
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
   
       
Today
Blogroll

No bookmarks in folder

News

No bookmarks in folder