[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-dev
Subject:    [Ant Wiki] Update of "AntOddities" by NamelessUser
From:       Apache Wiki <wikidiffs () apache ! org>
Date:       2005-09-30 16:33:50
Message-ID: 20050930163350.2717.85122 () ajax ! apache ! org
[Download RAW message or body]

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ant Wiki" for change \
notification.

The following page has been changed by NamelessUser:
http://wiki.apache.org/ant/AntOddities

------------------------------------------------------------------------------
  
  ''I'm confused. I was told that Java (static typing, compiled to bytecodes, etc.) \
is a totally different language than JavaScript (dynamic typing, interpreted, etc.). \
Are we using Java for scripting here ? Or are we actually using JavaScript ? Or both \
?''  
+ ''AFAICT, the scripting language is EmcaScript (aka JavaScript), but a java binding \
layer was added so that the java script can create and manuipulate java objects.''  \
=== How to import classes which are '''not''' on Ant īs classpath? ===  
  Ok, now we can use Ant īs classes and the whole javax.*-stuff. But if I need some \
custom classes? For example I have to create a reverse sorted list of files. Getting \
the list of files is no problem. Sorting can be done by java.util.TreeSet. But I need \
a custom Comparator which does the specific comparison. So I implement one and store \
it in ${basedir}/ext.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic