Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Automatic generation of Jar and Javadoc
Automatic generation of Jar and Javadoc [message #148179] Thu, 11 March 2004 10:51 Go to next message
Eclipse UserFriend
Originally posted by: news-reply-200403.iclipse.org

Is there a way to set options allowing the following:

- automatically create a new Jar-Archive upon every build or rebuild
- automatically create a new Jar-Archive upon one or two clicks
- automatically generate the Javadoc documentation upon every build
or rebuild
- automatically generate the Javadoc documentation upon one or two
clicks

Igor
Re: Automatic generation of Jar and Javadoc [message #148183 is a reply to message #148179] Thu, 11 March 2004 11:49 Go to previous messageGo to next message
Eclipse UserFriend
> Is there a way to set options allowing the following:
>
> - automatically create a new Jar-Archive upon every build or rebuild
> - automatically create a new Jar-Archive upon one or two clicks
> - automatically generate the Javadoc documentation upon every build
> or rebuild
> - automatically generate the Javadoc documentation upon one or two
> clicks

I think an ant script will do it. But maybe there is another way.


Martin (Kersten)
Re: Automatic generation of Jar and Javadoc [message #148216 is a reply to message #148183] Thu, 11 March 2004 17:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kaffiene.xtra.NOcoSPAM.nzPLEASE

Martin Kersten wrote:

>>Is there a way to set options allowing the following:
>>
>> - automatically create a new Jar-Archive upon every build or rebuild
>> - automatically create a new Jar-Archive upon one or two clicks
>> - automatically generate the Javadoc documentation upon every build
>>or rebuild
>>- automatically generate the Javadoc documentation upon one or two
>>clicks
>
>
> I think an ant script will do it. But maybe there is another way.
>
>

It would be nice if Eclipse could be set to build a jar file as the
default output
Re: Automatic generation of Jar and Javadoc [message #148232 is a reply to message #148216] Thu, 11 March 2004 18:18 Go to previous messageGo to next message
Eclipse UserFriend
"Peter" <kaffiene@xtra.NOcoSPAM.nzPLEASE> wrote in message
news:c2qpef$ad4$1@eclipse.org...
> Martin Kersten wrote:
>
> >>Is there a way to set options allowing the following:
> >>
> >> - automatically create a new Jar-Archive upon every build or rebuild
> >> - automatically create a new Jar-Archive upon one or two clicks
> >> - automatically generate the Javadoc documentation upon every build
> >>or rebuild
> >>- automatically generate the Javadoc documentation upon one or two
> >>clicks
> >
> >
> > I think an ant script will do it. But maybe there is another way.
> >
> >
>
> It would be nice if Eclipse could be set to build a jar file as the
> default output
>

Create an External tool builder that executes an Ant build.
You can set the tool builder to be triggered for any type of build and/or
set a working set of resources that must be changed to for the Ant build to
be triggered.

External tool builders can be created using:
Right click on a project
Select Properties
Select Builders
Click New

HTH
Darins
Re: Automatic generation of Jar and Javadoc [message #148256 is a reply to message #148232] Thu, 11 March 2004 21:49 Go to previous message
Eclipse UserFriend
Originally posted by: kaffiene.xtra.NOcoSPAM.nzPLEASE

Darin Swanson wrote:
> "Peter" <kaffiene@xtra.NOcoSPAM.nzPLEASE> wrote in message
> news:c2qpef$ad4$1@eclipse.org...
>
>>Martin Kersten wrote:
>>
>>
>>>>Is there a way to set options allowing the following:
>>>>
>>>> - automatically create a new Jar-Archive upon every build or rebuild
>>>> - automatically create a new Jar-Archive upon one or two clicks
>>>> - automatically generate the Javadoc documentation upon every build
>>>>or rebuild
>>>>- automatically generate the Javadoc documentation upon one or two
>>>>clicks
>>>
>>>
>>>I think an ant script will do it. But maybe there is another way.
>>>
>>>
>>
>>It would be nice if Eclipse could be set to build a jar file as the
>>default output
>>
>
>
> Create an External tool builder that executes an Ant build.
> You can set the tool builder to be triggered for any type of build and/or
> set a working set of resources that must be changed to for the Ant build to
> be triggered.
>
> External tool builders can be created using:
> Right click on a project
> Select Properties
> Select Builders
> Click New

Yeah I know that. It would still be nice to be able to have a jar output
target without having to use ant. Its the most common way to distribute
java code, so it does strike me as odd that you can't build a jar
directly (I like using Ant personally, but I imagine some people would
rather avoid the whole malke file style approach - especially newbies)

Peter.
Previous Topic:SORRY for the repeated messages!
Next Topic:show HTML pages inside Eclipse
Goto Forum:
  


Current Time: Tue May 06 19:04:06 EDT 2025

Powered by FUDForum. Page generated in 0.02908 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top