This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
in order to test junit4, i downloaded it and then, after creating a new project in project properties window, in libraries tab, i selected add external library and added junit4.1 jar.
so far so good, but,imagine i wanna create a jar from my project, one jar that includes ALL needed jars for the working of my application. If i try to create a jar from eclipse, when i try to add stuff to it, junit4.1 jar does not show up. so, what can i do so that all my jars lie inside my proj?
after re reading my last post i feel like an idiot
add a copy of the jar file under one of the directories in your
of course i tried that with all imaginable diferent ways, but didnt work: 1. created a folder and imported the jar 2. unzipped the jar and imported the folder containing the unzipped stuff 3. imported the jar through eclipse 4. created an User Library but all without results [ July 25, 2006: Message edited by: miguel lisboa ]
Miguel, I meant the simple approach. Literally copy/paste the jar under your project. (Make sure the checkbox is checked on the build path export tab.) Then export.
Joined: Feb 08, 2004
thank you, Jeanne
i did copy/paste the jar into my project; as my test class turned up with lots of errors( because didnt find the jar), i went to properties/libraries/add external jar, and then browsed till finding the jar i had copied into my project this way it really works