Skip to main content

JavaFX as a utility scripting language

1 reply [Last post]
Joined: 2003-07-02

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.
Joined: 2007-07-12

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

import javafx.system.Project;

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

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 ...