0

Basic 101 for Eclipse. If I have an existing java project TestA, how do I change the name of the jar file that is complied when running a debug config so it is testV1.jar?

E-Riz
  • 31,431
  • 9
  • 97
  • 134
art vanderlay
  • 2,341
  • 4
  • 35
  • 64
  • 1
    Question doesn't make sense. Eclipse does not "compile" JARs (unless you invoke *File > Export > JAR file*) – E-Riz Jul 18 '12 at 03:18
  • OK, then how does the TestA.jar end up in my /lib folder for the debug process? – art vanderlay Jul 18 '12 at 03:22
  • What kind of project are you talking about? Plain Java project or something else? – E-Riz Jul 18 '12 at 03:25
  • I just tried creating a Java project with a file and running it and there is no lib folder. Can you give exact steps for what you are doing? – Francis Upton IV Jul 18 '12 at 03:27
  • In this case its a wowza media project, when debug is called it builds a jar file and places it into the /libs folder then starts the application. I assumed this was a standard feature of a eclipse build, being able to build and deploy as part of a debug/run process. – art vanderlay Jul 18 '12 at 04:27
  • That must be something specific to the Wowza tools. I added `wowza` as a tag on the question; maybe someone familiar with that tool will chime in. – E-Riz Jul 18 '12 at 13:37
  • Did you import an existing Eclipse project? You can check the setting by right-clicking on the project in Eclipse and going to Properties, then Build. You can also go into the folder directly and look for a .project file, open it in something like Notepad++ and see what the builders specify. – Robert Jul 18 '12 at 15:30
  • it is added as part of the build.xml, so i could manually change it. Thx for the feedback – art vanderlay Jul 19 '12 at 11:03

1 Answers1

0

This is way later than the question but a way to change the JAR filename for a wowza media project is to modify the build.xml file in the project. In the xml property named jar.filename. Worked for me!

user30803
  • 845
  • 2
  • 11
  • 25