Skip to main content

JavaFX as a utility scripting language

1 reply [Last post]
bi11w00ds
Offline
Joined: 2003-07-02
Points: 0

All,
I'm just looking for thoughts, comments on JavaFX being used to replace traditional scripting languages such as Perl etc.

Aside from being a good basis to write GUI applications, I believe with
all the new constructs (specifically sequences) this would be a great non-gui
general purpose batch scripting type language.

Any thoughts?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexsch
Offline
Joined: 2007-07-12
Points: 0

I would prefer to use an fx property file to build a java project instead of ant xml files.
It can look like:

[code]
import javafx.system.Project;

Project{
src: "./sources"
dist: "./distination"
libs: [ "./lib/nimbus.jar", "./lib/otherlib.jar" ]
}
[/code]
where Project is

[code]
package javafx.system;

public class Project{
public attribute src: String = "./src";
public attribute build: String = "./build";
public attribute libs: String[];

public function run() { /* run project*/}
public function build() { /* build project*/}
// end etc ...
}
[/code]