ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <tmas...@iknowledgeinc.com>
Subject Re: Simple question?
Date Fri, 02 Nov 2001 15:43:18 GMT
Sounds plausible.
However, a manifest may contain anything other than the known attributes.
I like your idea though.


----- Original Message -----
From: "Jay Burgess" <jburgess@delanotech.com>
To: <ant-user@jakarta.apache.org>
Sent: Friday, November 02, 2001 7:46 AM
Subject: Simple question?


> (New Ant user.  Apologies if this is doc'ed somewhere.  I can't find it.)
>
> The "jar" attribute of the "Java" task indicates "must have a Main-Class
> entry in the manifest". The only way I've found to define the Main-Class
is
> to first create my own manifest, then pass it to the "Jar" task.
>
> It seems easier in my simple case that the "Jar" task could have something
> like a "mainclass" attribute, so that Ant could include it in the simple
> manifest that it creates.  This would save me the step of creating the
> manifest first, simply to define the Main-Class.  Did I understand things
> correctly?
>
> If this is a feature request, then obviously it's not a high priority one.
>
> Thanks.
>
> Jay



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message