ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48383] New: contribute ON front to ant
Date Sat, 12 Dec 2009 06:43:22 GMT
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: notifications@ant.apache.org
        ReportedBy: fyaoxy@gmail.com


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/%3c91dd9a4f0811180944m46bfa9ecs3eb8564a5e2d10c6@mail.gmail.com%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.

Mime
View raw message