Betreff: Re: Skipping a javah task with Java 10 and higher
>
> Thanks much for your help! The javaversion condition works perfectly.
>
>
> Rei Odaira
>
> 2019年5月7日(火) 0:58 Jan Matèrne (jhm) :
>
> > With xml namespaces like if:set you could exclude individu
s.html
>
>
>
>
>
>
>
>
> ...
>
>
>
>
>
>
>
>
>
> Jan
>
> > -Ursprüngliche Nachricht-
> > Von: Jaikiran Pai [mailto:jaiki...@apache.org]
> > Gesendet: Dienstag, 7. Mai 2019 07:38
> > An: user@ant.apache.
Dienstag, 7. Mai 2019 07:38
> An: user@ant.apache.org
> Betreff: Re: Skipping a javah task with Java 10 and higher
>
> Recent versions of Ant (starting 1.10.2) have a "javaversion"
> condition[1] which you can use to setup a "property" which can then be
>
//ant.apache.org/manual/Tasks/conditions.html#javaversion
-Jaikiran
On 07/05/19 10:53 AM, 大平怜 wrote:
> Hello,
>
> My build.xml has a javah task. Since it no longer works with Java 10 and
> higher, I added nativeHeaderDir to a javac task, and it is working fine.
> However, I still want to
Hello,
My build.xml has a javah task. Since it no longer works with Java 10 and
higher, I added nativeHeaderDir to a javac task, and it is working fine.
However, I still want to keep the javah task, so that the same build.xml
works for older Java.
How can I make ant skip the javah task only when
I just tried but it seems that is not valid for the javah task:
javah doesn't support the nested "jvmarg" element.
Bill
On Thu, Oct 15, 2009 at 9:53 AM, Francis GALIEGUE wrote:
> On Thu, Oct 15, 2009 at 15:37, Bill Au wrote:
> > I have a need to limit the max hea
On Thu, Oct 15, 2009 at 15:37, Bill Au wrote:
> I have a need to limit the max heap size of the javah task. So I am using a
> :
>
> classpath="${build.classes}"
> destdir="${build.native}/src/org/apache/hadoop/io/compress/zlib"
>
Bill Au wrote:
I have a need to limit the max heap size of the javah task. So I am using a
:
When I invoke javah directly with the same argument it actually works
without error:
javah -J-Xmx512m -classpath build/classes
I have a need to limit the max heap size of the javah task. So I am using a
:
But it is giving me a illegal argument error:
[javah] Error: -J-Xmx512m is an illegal argument
[javah]
[javah] Usage: javah [options]
[javah]
[javah] where
Ah, crud, this breaks our build too.
Gary
-Original Message-
From: Maurice Feskanich [mailto:[EMAIL PROTECTED]
Sent: Friday, April 29, 2005 11:15 AM
To: Ant Users List
Subject: Re: exception using javah task in 1.6.3
Hi Antoine,
Thanks for the info. I have created Bugzilla report
Hi Antoine,
Thanks for the info. I have created Bugzilla report #34681 for this issue.
Maury
Antoine Levy-Lambert wrote:
> Hello Maurice,
>
> The class which is trying to use com.sun.tools.javah.oldjavah.Main is
> src/main/org/apache/tools/ant/taskdefs/optional/javah/SunJavah.java
> http://cv
Hello Maurice,
The class which is trying to use com.sun.tools.javah.oldjavah.Main is
src/main/org/apache/tools/ant/taskdefs/optional/javah/SunJavah.java
http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs/optional/javah/SunJavah.java
I guess the problem is that the changes
Hi All,
I just tried doing my build with 1.6.3, and I'm getting:
[javah] Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/tools/javah/oldjavah/Main
This build has been working fine with 1.6.2. All I did to use 1.6.3 was
change the value of ANT_HOME.
I've looked through the do
On Wed, 20 Apr 2005, Matt Benson <[EMAIL PROTECTED]> wrote:
>> True, a good place to turn it into add(ResourceCollection) later.
>
> Where do we stand on that? i.e. the above requires 3rd-party code to
> recompile, or we can be nice
We have to be nice, I'd say.
> Also, for tasks like this where
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> On Wed, 20 Apr 2005, Matt Benson
> <[EMAIL PROTECTED]> wrote:
>
> >> (2) Use addFileset(FileSet fs) and add fs to
> collection on each
> >> invocation, you get support for multiple FileSets
> for free.
> >
> > Better yet, use add(FileSet fs) just be
On Wed, 20 Apr 2005, Matt Benson <[EMAIL PROTECTED]> wrote:
>> (2) Use addFileset(FileSet fs) and add fs to collection on each
>> invocation, you get support for multiple FileSets for free.
>
> Better yet, use add(FileSet fs) just because you can.
True, a good place to turn it into add(ResourceC
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Wed, 20 Apr 2005, Karsten Klohs <[EMAIL PROTECTED]>
> wrote:
>
> > | I agree. Native support for filesets would be
> the cleanest
> > | solution.
[SNIP]
> (2) Use addFileset(FileSet fs) and add
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, 20 Apr 2005, Karsten Klohs <[EMAIL PROTECTED]> wrote:
> | I agree. Native support for filesets would be the cleanest
> | solution.
> |>>I appreciate any comments to this idea.
> |
> |
> | All it takes is somebody who does the coding and suppl
--- Karsten Klohs <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
[SNIP]
The implicit convention, is that the full file
> name exactly corresponds to
> the full class name. How can this restriction be
> relaxed? One idea is to
> investigate the files' contents to find
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi again,
|>>3. I took a brief look at the development of Ant tasks and
|>>implementation of the javah-task. I think that it should be quite
|>>easy (famous last words ;-)) to extend the javah-task, so that it
|>>can take
your friend. Translate the fileset into a
property and use that. Use "," as pathsep.
> 3. I took a brief look at the development of Ant tasks and
> implementation of the javah-task. I think that it should be quite
> easy (famous last words ;-)) to extend the javah-task, so that i
, the
build-in javah task requires full qualified class name given in a special
attribute.
The issue was brought up in this Mailing list a few month ago, but seems not
have to produced an answer. Thus, I will try to ask hopefully constructive
questions:
1. Has anyone solved the problem already?
2
There will be a release of ant 1.5.4 with this bug fixed in it this week.
Cheers,
Antoine
- Original Message -
From: "Sultan Saini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 09, 2003 10:44 PM
Subject: patch for bug # 21410 (javah task do
ED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 12:31 PM
Subject: Problem: javah task and Sun j2sdk 1.4.2. beta (Windows)
> When I try to run a javah task with the most recent SUN Windows jdk
> (j2sdk 1.4.2 beta) it turns out that the API of com.s
When I try to run a javah task with the most recent SUN Windows jdk
(j2sdk 1.4.2 beta) it turns out that the API of com.sun.tools.javah.Main
has changed. The javah task requires this constructor:
public com.sun.tools.javah.Main(java.lang.String[]);
which seems to have disappeared:
C:\TEMP
25 matches
Mail list logo