Classloader problems

2007-06-06 Thread Kevin Jackson
Hi all, For obscure reasons, I have to redefine the core email task using a taskdef. This is my build file: Now the strange thing is that thescp & sshexec tasks report that they have been over-ridden by the new definitions, and

Re: Ant and Swing

2007-06-06 Thread Rafael Barrera Oro
I solved it in a way that may no be the best but will do for now, with fork=true the permissions are ignored, in fact, thats why your code worked. Thanks again Rafael 2007/6/6, Rafael Barrera Oro <[EMAIL PROTECTED]>: Not solved yet :( It seems that the problem had to do with permissions, i h

Re: Ant and Swing

2007-06-06 Thread Rafael Barrera Oro
Not solved yet :( It seems that the problem had to do with permissions, i have to grant Ant the permission java.lang.RuntimePermission exitVM, which is the correct way of doing this? i tried the following and did not work (NoClassDefFoundError, i assume that the RuntimePermission cant be found e

Re: Ant and Swing

2007-06-06 Thread Rafael Barrera Oro
Indeed, i searched elsewhere and found the problem, it has nothing to do with the Ant script, thanks very much, i was convinced it was an Ant Issue. 2007/6/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: I think your application just terminates very early. This works for me:

AW: Ant and Swing

2007-06-06 Thread Jan.Materne
I think your application just terminates very early. This works for me: import javax.swing.JFrame; public class Main { public static void main(String[] args) { JFrame f = new JFram

Ant and Swing

2007-06-06 Thread Rafael Barrera Oro
How can i manage to execute a project where i use Swing ? i tried doing it normally but it does not work (without throwing an exception, it simply concludes the task without executing the Swing portion of my project). Thanks in advance

resolve dynamic property ?

2007-06-06 Thread Rebhan, Gilbert
Hi, i have a static property file with key=value : web.buildcmd=make-${buildtarget}-SB my first script creates the dynamic property ${buildtarget} with

FYI: JavaDocs + Eclipse Manual

2007-06-06 Thread Jan.Materne
Oops - I had forgotten to post this info ... I upload the JavaDocs for Ant Core and Ant Test and an Eclipse plugin with the manual onto my homepage at http://people.apache.org/~jhm/ This is not any "official". You could generate these for yourself using Ant's buildfile (ant javadocs test-javadocs