You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Martin Gainty <mg...@hotmail.com> on 2015/09/07 14:10:45 UTC

RE: build_tools.jar missing


From: mgainty@hotmail.com
To: users@ant.apache.org
Subject: build_tools.jar missing
Date: Sun, 6 Sep 2015 20:04:54 -0400




<taskdef name="manifest-version"
           classname="ManifestVersion"
           classpath="..\build_tools.jar" />

cannot find ManifestVersion
cannot find build_tools.jar

any clues?

Martin
______________________________________________ 
                                                                                                    
 		 	   		   		 	   		  

RE: AW: AW: build_tools.jar missing

Posted by Martin Gainty <mg...@hotmail.com>.
i'll check it out

Thanks Jan
Martin 



> From: apache@materne.de
> To: user@ant.apache.org
> Subject: AW: AW: build_tools.jar missing
> Date: Tue, 8 Sep 2015 08:03:06 +0200
> 
> The manifest task is available as <manifest> and is part of the core Ant distribution.
> The definition is in org\apache\tools\ant\taskdefs\defaults.properties
>   manifest=org.apache.tools.ant.taskdefs.ManifestTask
> That class is in ant.jar.
> 
> Googling for "build_tools.jar" gave me just this hint:
> http://discourse.codeemo.com/t/mineos-on-ubuntu-14-04/701/7
> "How do I create a profile for bukkit or spigot?
> 
>   I'm still verifying on my end the legality of actually linking 
>   to usable spigot jars (bukkit are a no-go), because as best as 
>   I can tell so far...I'm definitely not supposed to link spigot 
>   jars. Instead, I'm permitted to link the build_tools.jar, which 
>   then downloads vanilla minecraft and then constructs the 
>   completed jar. This isn't a trivial task to automate, though, 
>   and seeing as how it will use up all the CPU power in compilation 
>   and downloading for quite a while, I feel like it shouldn't be 
>   treated simply like a download (as other profiles are).
> 
>   That said, if you want to use either of these, you'd have to 
>   build the jars manually or download it somewhere in its completed 
>   form, such as from http://getspigot.org/2 and place it in your 
>   server's directory (/var/games/minecraft/servers/yourserver)."
> 
> Not sure if that something you want ...
> 
> 
> 
> As Earl suggested: describe your goals and we could help.
> Just this small snippet may be too small ;)
> 
> 
> Jan
> 
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Earl Hood [mailto:earlhood@gmail.com]
> > Gesendet: Dienstag, 8. September 2015 02:40
> > An: Ant Users List
> > Betreff: Re: AW: build_tools.jar missing
> > 
> > On Mon, Sep 7, 2015 at 5:48 PM, Martin Gainty wrote:
> > 
> > > https://ant.apache.org/manual/Tasks/manifest.html
> > 
> > But you are not using that task, you are trying to define a new task:
> > 
> > >> > <taskdef name="manifest-version"
> > >> >            classname="ManifestVersion"
> > >> >            classpath="..\build_tools.jar" />
> > >> >
> > >> > cannot find ManifestVersion
> > >> > cannot find build_tools.jar
> > 
> > The <taskdef> you have tries to define a new task called "manifest-
> > version", which is implemented with the class "ManifestVersion" which
> > is to be found in the jar build_tools.jar.
> > 
> > Apparently, the file build_tools.jar is not present, or not found in
> > the relative location you provided.  I would question using a classname
> > that is in the default package space.
> > 
> > Since it appears you are confused on how to utilize existing tasks and
> > define new tasks in Ant, you may get better help if post what you are
> > trying to achieve.
> > 
> > --ewh
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
> > commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
 		 	   		  

AW: AW: build_tools.jar missing

Posted by "Jan Matèrne (jhm)" <ap...@materne.de>.
The manifest task is available as <manifest> and is part of the core Ant distribution.
The definition is in org\apache\tools\ant\taskdefs\defaults.properties
  manifest=org.apache.tools.ant.taskdefs.ManifestTask
That class is in ant.jar.

Googling for "build_tools.jar" gave me just this hint:
http://discourse.codeemo.com/t/mineos-on-ubuntu-14-04/701/7
"How do I create a profile for bukkit or spigot?

  I'm still verifying on my end the legality of actually linking 
  to usable spigot jars (bukkit are a no-go), because as best as 
  I can tell so far...I'm definitely not supposed to link spigot 
  jars. Instead, I'm permitted to link the build_tools.jar, which 
  then downloads vanilla minecraft and then constructs the 
  completed jar. This isn't a trivial task to automate, though, 
  and seeing as how it will use up all the CPU power in compilation 
  and downloading for quite a while, I feel like it shouldn't be 
  treated simply like a download (as other profiles are).

  That said, if you want to use either of these, you'd have to 
  build the jars manually or download it somewhere in its completed 
  form, such as from http://getspigot.org/2 and place it in your 
  server's directory (/var/games/minecraft/servers/yourserver)."

Not sure if that something you want ...



As Earl suggested: describe your goals and we could help.
Just this small snippet may be too small ;)


Jan



> -----Ursprüngliche Nachricht-----
> Von: Earl Hood [mailto:earlhood@gmail.com]
> Gesendet: Dienstag, 8. September 2015 02:40
> An: Ant Users List
> Betreff: Re: AW: build_tools.jar missing
> 
> On Mon, Sep 7, 2015 at 5:48 PM, Martin Gainty wrote:
> 
> > https://ant.apache.org/manual/Tasks/manifest.html
> 
> But you are not using that task, you are trying to define a new task:
> 
> >> > <taskdef name="manifest-version"
> >> >            classname="ManifestVersion"
> >> >            classpath="..\build_tools.jar" />
> >> >
> >> > cannot find ManifestVersion
> >> > cannot find build_tools.jar
> 
> The <taskdef> you have tries to define a new task called "manifest-
> version", which is implemented with the class "ManifestVersion" which
> is to be found in the jar build_tools.jar.
> 
> Apparently, the file build_tools.jar is not present, or not found in
> the relative location you provided.  I would question using a classname
> that is in the default package space.
> 
> Since it appears you are confused on how to utilize existing tasks and
> define new tasks in Ant, you may get better help if post what you are
> trying to achieve.
> 
> --ewh
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
> commands, e-mail: user-help@ant.apache.org



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


Re: AW: build_tools.jar missing

Posted by Earl Hood <ea...@gmail.com>.
On Mon, Sep 7, 2015 at 5:48 PM, Martin Gainty wrote:

> https://ant.apache.org/manual/Tasks/manifest.html

But you are not using that task, you are trying to define a new task:

>> > <taskdef name="manifest-version"
>> >            classname="ManifestVersion"
>> >            classpath="..\build_tools.jar" />
>> >
>> > cannot find ManifestVersion
>> > cannot find build_tools.jar

The <taskdef> you have tries to define a new task called "manifest-version",
which is implemented with the class "ManifestVersion" which is to be found
in the jar build_tools.jar.

Apparently, the file build_tools.jar is not present, or not found in the
relative location you provided.  I would question using a classname that is
in the default package space.

Since it appears you are confused on how to utilize existing tasks and
define new tasks in Ant, you may get better help if post what you are trying
to achieve.

--ewh

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


RE: AW: build_tools.jar missing

Posted by Martin Gainty <mg...@hotmail.com>.
https://ant.apache.org/manual/Tasks/manifest.html
danke
Martin 
______________________________________________ 
                                                                                                


> From: apache@materne.de
> To: user@ant.apache.org
> Subject: AW: build_tools.jar missing
> Date: Mon, 7 Sep 2015 14:34:35 +0200
> 
> I dont know that task.
> Where does it come from?
> 
> Jan
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Martin Gainty [mailto:mgainty@hotmail.com]
> > Gesendet: Montag, 7. September 2015 14:11
> > An: users@ant.apache.org; Ant Users List
> > Betreff: RE: build_tools.jar missing
> > 
> > 
> > 
> > From: mgainty@hotmail.com
> > To: users@ant.apache.org
> > Subject: build_tools.jar missing
> > Date: Sun, 6 Sep 2015 20:04:54 -0400
> > 
> > 
> > 
> > 
> > <taskdef name="manifest-version"
> >            classname="ManifestVersion"
> >            classpath="..\build_tools.jar" />
> > 
> > cannot find ManifestVersion
> > cannot find build_tools.jar
> > 
> > any clues?
> > 
> > Martin
> > ______________________________________________
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
 		 	   		  

AW: build_tools.jar missing

Posted by "Jan Matèrne (jhm)" <ap...@materne.de>.
I dont know that task.
Where does it come from?

Jan

> -----Ursprüngliche Nachricht-----
> Von: Martin Gainty [mailto:mgainty@hotmail.com]
> Gesendet: Montag, 7. September 2015 14:11
> An: users@ant.apache.org; Ant Users List
> Betreff: RE: build_tools.jar missing
> 
> 
> 
> From: mgainty@hotmail.com
> To: users@ant.apache.org
> Subject: build_tools.jar missing
> Date: Sun, 6 Sep 2015 20:04:54 -0400
> 
> 
> 
> 
> <taskdef name="manifest-version"
>            classname="ManifestVersion"
>            classpath="..\build_tools.jar" />
> 
> cannot find ManifestVersion
> cannot find build_tools.jar
> 
> any clues?
> 
> Martin
> ______________________________________________
> 
> 


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