File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Frontman: commandsPath question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "Frontman: commandsPath question" Watch "Frontman: commandsPath question" New topic
Author

Frontman: commandsPath question

Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 3688

When using @Bear's frontman, there is a commandsPath parameter.
The examples show it containing only one directory.

Is it a real path? Can it hold multiple directories?
Does it use the Java System.property "path.separator" between them?

I'd like to have
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50693

Are you using the FrontMan 2 beta? Or still using 1?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 3688

Bear Bibeault wrote:Are you using the FrontMan 2 beta? Or still using 1?

Beta 2. Which I think it probably out of beta, since I've been using it for what seems like years.

I have not recently grabbed any updates to Beta 2
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50693

Pat Farrell wrote:Beta 2. Which I think it probably out of beta, since I've been using it for what seems like years.

The only thing the beta is lacking is finished documentation. I'm not anticipating any code changes, so I guess you can consider it final.

You can specify multiple packages separated by spaces. I like the idea of using the system "path.separator" better. Maybe for 2.1...
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 3688

Bear Bibeault wrote:I like the idea of using the system "path.separator" better.


It seemed at least consistant to me. But, one of the claims is that you can write your WAR and run it anyway. If you developed on Windows and then deployed on Debian, the path.separator changes, so the programmer would have to change the source code (XML) to deploy. That seems to smell to me.

It would be a small matter of programming to use either of the two major path.separators known in the universe.
 
IntelliJ Java IDE
 
subject: Frontman: commandsPath question
 
Threads others viewed
FrontMan Commands ?
Frontman2 beta: strange startup error
JSP init parameters.
FrontMan: Startup Error.
Unable to get init parameters in servlet
developer file tools