You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by James Black <jb...@ieee.org> on 2005/09/14 15:08:45 UTC
re: where do I edit to add compiler options
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am using a deprecated function in my webservice, and I am curious how
I go about editing beehive-tools.xml so that it will check.
Inside the <apt> task for build-webservice I added:
<apt ... debug="true"
processorOptions="-Xlint:unchecked,-Xlint:deprecated"/>
That didn't work.
Thanx.
- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black james@usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDKCDdikQgpVn8xrARAiZ7AJ0eMHBYoBDE+CXBi6YJogAOdLokYgCgkc6y
DY8Z/N0WHj/TsahmC5B0g9s=
=So16
-----END PGP SIGNATURE-----
Re: where do I edit to add compiler options
Posted by James Black <jb...@ieee.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Eddie O'Neil wrote:
> James--
>
> The Beehive APT Ant task extends the Ant Javac task; as such, you
> should be able to use nested <compilerarg> elements to pass additional
> command line configuration. The "processorOptions" attribute is
> really meant for passing -A options to the annotation processor.
I guess I had forgotten to touch my file when I made the change, it
worked this time. Thanx.
- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black james@usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDKDwaikQgpVn8xrARAjklAJ4rmVLbuEIz7DJ9RpJKF4PxPBPgWgCfcNS2
e1jFtqa6NJjnC4mWxKIz6vc=
=/+Pf
-----END PGP SIGNATURE-----
Re: where do I edit to add compiler options
Posted by Eddie O'Neil <ek...@gmail.com>.
James--
The Beehive APT Ant task extends the Ant Javac task; as such, you
should be able to use nested <compilerarg> elements to pass additional
command line configuration. The "processorOptions" attribute is
really meant for passing -A options to the annotation processor.
If this doesn't work, it's probably related to the fact that the APT
task doesn't support the "fork" attribute on the APT (Javac) Ant task.
If so, I apologize...this is tracked in JIRA at:
http://issues.apache.org/jira/browse/BEEHIVE-374
Give this a spin and let me know how it goes. :)
Eddie
On 9/14/05, James Black <jb...@ieee.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I am using a deprecated function in my webservice, and I am curious how
> I go about editing beehive-tools.xml so that it will check.
>
> Inside the <apt> task for build-webservice I added:
> <apt ... debug="true"
> processorOptions="-Xlint:unchecked,-Xlint:deprecated"/>
>
> That didn't work.
>
> Thanx.
>
> - --
> "Love is mutual self-giving that ends in self-recovery." Fulton Sheen
> James Black james@usf.edu
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFDKCDdikQgpVn8xrARAiZ7AJ0eMHBYoBDE+CXBi6YJogAOdLokYgCgkc6y
> DY8Z/N0WHj/TsahmC5B0g9s=
> =So16
> -----END PGP SIGNATURE-----
>