Hi all, I'd like to ask what others are doing for JUnit tests with Eclipse. As a preamble, I'd like to say I'm using the Ant book from Manning. They suggest ...
We use /source/code/com... and /source/testcode/com... In Eclipse, we typically keep them in 1 project, but as 2 separate folders in the Java Build Path under...
Rob Park
rpark68@...
Oct 4, 2004 10:41 pm
189
... Thanks. Since I've posted this, I've noticed in Eclipse (in 3.0.1, anyway: in a co-workers install of 3.0.0, I was unable to use this) that one can use two...
In the project I am in, we are using /src/com/... and /src/com/.../tests making it easy to exclude the tests via Ant. The reason I lean for this is when the...
Why are you having Eclipse compile the source and test code to two different directories? I've been using Eclipse since the 2.1 days, typically with two...
Yep. That's the screen I'm referring to. They both build to the same place, which is fine with us. Our nightly ant builds would deal with that (if we...
Rob Park
rpark68@...
Oct 6, 2004 4:01 pm
193
I do compile them to 1 location, but the 2 source trees allow me to create tests in the same package (avoiding imports), yet keep them in separate places. I...
Rob Park
rpark68@...
Oct 6, 2004 4:29 pm
194
... I am using the _Java Development with Ant_ book, and it suggests doing it in different dirs. I am not using any JUnit stuff from Eclipse. We have folks ...
Howdy folks, I'm doing a presentation on comparing the top 5 MVC frameworks at ApacheCon in November. I'll also be delivering this presentation at the DJUG...
I am trying to create an output file I can use in several methods. I created the FileWriter object but am not sure if I should just pass it to the methods in...
... Well, generally you don't access static members from inside a main() method, even though it is permitted. I would say you can instantiate the FileWriter...
Greetings, We recently started tested a Java Swing network application with JDK 1.5 and we noticed calls to socket.connect() which used to return almost ...
After some further searching on this issue, we found a workaround. If you want your socket code to work as in 1.4, simply construct your socket with the...
Derek, Thanks for testing. I am not running in a web browser; it's a stand-alone Swing app. My colleague here could reproduce the problem easily as well....
hi all, has anyone come across any third party tool that would allow me to offer the following features in a J2EE application. - Grammer check (on a textarea...
On December 8th, the Colorado Front Range Storage Networking User Group (COFR-SNUG) will hold itıs quarterly meeting at Regis University, Denver Tech Center....
Hi All, I was recently laid off and haven't programmed in Java in about 10 months. I would like to get back into this field and would like to know the first...
Rob, If you are looking for a good introductory/refresher Java book, I'd recommend _Head First Java_. The next thing I'd do is pick a specialization, such as: ...
hi all, I understand that the http GET has a limitation of 256 characters. Is there any limitation on http POST as well? if yes. what is it? thanks in advance ...
The GET limitation should be regarded as a suggested limit, not a hard limit. Submitting an 80k document in the URL would hardly be considered a "best...
Hi All, While doing precompilation of JSP's we are getting the following error...how to resolve this... Help Appricaiated ! An exception was thrown:...
If there is anyone who has experience with Eclipse RCP application deployment, I have an urgent need for some help with what, I think, should be a simple...
David, Have any takers yet? I'm very experienced in the Eclipse RCP and would like to see if I could help. Take care, Jeremy (303) 590-6075...
Jeremy Whitlock
jwhitlock81@...
Dec 7, 2004 7:05 pm
213
Is there a way to programmatically detect if a file is an image file or a text file? I have a directory with 2 types of files in it. Both types have "." ...
... Well, the "file" utility on unix also looks inside the file for patterns. IIRC the TIFF format has a fixed header at the start, you can see here for more...
Ed, You can determine the type of many non-text files by looking for a "magic number" at the start. E.g. Java .class files, if I recall correctly, begin with...