Anders

Directories in CLASSPATH

I would very much like to be able to add a directory to the CLASSPATH. As far as I can see it is currently only possible to add JARs.

Otherwise, this is a VERY nice product.

Anders
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Thanks, that is very high on our todo list, actually.

Regards,
Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
stromo
Posts: 2
Joined: Tue Apr 13, 2004 7:16 pm

work-around

Use VM arguments -

-Djava.class.path=<dir>;<dir>;...
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

You're right. But the problem with this approach is that those hard-coded paths will be different if the user chooses to install your product into a different directory. And using relative paths is dependent on the shortcut's working folder, which doesn't exist if you want to start the product at the command line.

The correct, Windows Installer way, is to have a "directory reference", [DirID] which gets resolved at install time into the actual installation path. We'll implement this in a future version of Advanced Installer.
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”