RE: ANT 'javac' task and 'fork' attribute

2013-01-31 Thread WebServices Development
From the link here (http://mindprod.com/jgloss/javacmain.html ) and some other links, I thought the class com.sun.tools.javac.Main in tools.jar is deprecated. For your suggestion of using compilerarg attribute for classpath, can you give me an example of how I can use it? Thanks again. -Or

Re: Problem with GPG plugin from Ant task

2013-01-31 Thread Antoine Levy Lambert
Hello Martin, there is already an ant task in this codebase [1]: Antoine [1] http://svn.apache.org/repos/asf/commons/sandbox/openpgp/trunk/src/main/java/org/apache/commons/openpgp/ant/OpenPgpSignerTask.java On Jan 31, 2013, at 3:49 PM, Martin Gainty wrote: > > Antoine > > can we take the M

Re: ANT 'javac' task and 'fork' attribute

2013-01-31 Thread Rainer Noack
Hi, yep, that's the behaviour how ant works. why do you think com.sun.tools.javac.Main in tools.jar is deprecated? It's still the standard java compiler and the class that you call, when you execute the javac application. Yes, there is a new API (and SPI) in javax.tools but it's standard beha

RE: Problem with GPG plugin from Ant task

2013-01-31 Thread Martin Gainty
Antoine can we take the Mojo source and re-factor to ANT taskdef class? package org.apache.maven.plugin.gpg; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * r

ANT 'javac' task and 'fork' attribute

2013-01-31 Thread WebServices Development
While researching when trying to figure out why I could not use the wildcard classpath for the javac task- even in ant 1.8.4 ( wildcards are supposed to be allowed since Ant 1.8.2 )- here is what I have inferred. Can someone please let me know, if the inference is correct or am I mis-guided s