https://issues.apache.org/bugzilla/show_bug.cgi?id=48383
Summary: contribute ON front to ant
Product: Ant
Version: 1.8Alpha (nightly)
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: Other
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=24703)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24703)
ON for Ant lib
Last year I talk with Stefan Bodewig about this contribution.
See at
http://mail-archives.apache.org/mod_mbox/ant-dev/200811.mbox/ajax/%[email protected]%3e
the item title: Contribute for ANT a new format script with a new ProjectHelper
I'm happy,Ant core provided a new ProjectHelperProvider mechanism since 1.8.
Now I hope renew this contribution.
ON is the most simple and complex Object Notation language.
I made an ONProjectHelper for ant. Indeed I used it in all my development since
ONed.
There is a simple demo anton script:
name: test;
default: default;
basedir:.;
property
{name: source; value: "${basedir}"}
{name: dest; value:"${basedir}"}
target{name:default;
echo: message;
echo: message: 'build source ${source} to destination ${dest}'
javac{srcdir: "${source}"; destdir: "${source}"; includes: *.java}
}
And there is another same thing but wrapped with project element:
project{
name: test;
default: default;
basedir:.;
property
{name: source; value: "${basedir}"}
{name: dest; value:"${basedir}"}
target{name:default;
echo: message;
echo: message: 'build source ${source} to destination ${dest}'
javac{srcdir: "${source}"; destdir: "${source}"; includes: *.java}
}
}
The ON buildFile extension is .on. default build.on.
About on simple description, please see http://on.dev.java.net
pls see attachement for anton.jar. just put it to the ant/lib, then go ON.
NOTE: the attachment on.jar only for ant-1.8. Of cause when lower version anton
need, I will provide the patched ant.jar as you needed.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.