Jeff Storey

Ranch Hand
+ Follow
since Oct 09, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jeff Storey

Hi. Thanks for all of the quick replies. I was leaning toward the thought that it was worth my time to learn AJAX. Maybe it's just my programmer paranoia taking over that was giving me some second thoughts.

Thanks again,
Jeff
Hi everyone,

I'm new to AJAX (although well versed in JavaScript and XML, so I don't think it should be too difficult), but I'm wondering if it is really a technology for the future that I should invest my time in learning well. I'm somewhat concerned that users may not have JavaScript enabled, and due to increasing security precautions (especially on Windows XP and Vista), it may not catch on too well. I know it has caught on in the short-term, but what are your thoughts as AJAX being a cross-browser, long-term technology?

Thanks,
Jeff
Just to be a little more picky, rather than using "\n", I would use System.getProperty("line.separator"). This gives you the system specific newline character, although in most cases the "\n" would be sufficient.
15 years ago
I have an application and it supports multiple users and is rather memory intensive, so I want to be able to use all of the memory I have in my machine. I currently have over 2GB and have now found that the JVM does not let you use more than about 1.8GB. Is there any way around this limitation or do I need to start exploring the options of launching multiple JVMs and doing some load balancing.

Thanks,
Jeff
15 years ago
Hi.

You can use the list method of the File object as follows:



Hope this helps.
Jeff
15 years ago
Hi.

You can use the list method of the File object as follows:



Hope this helps.
Jeff
15 years ago
Hi, is there any way I can use ant's mail task so it sends mail through a Microsoft Exchange server? Or is there an alternative to sending mail from an ant script that will allow me to connect to an Exchange server?

Thanks,
Jeff
15 years ago
I got it working. I realized that arg1 is the property I'm checking and arg2 is the value of that property.

I appreciate the help.

Jeff
15 years ago
Hi, is there a way I can use a conditional (specifically an IF statement) in ant. I want to send one email subject if the junit failure property has been set, and another email subject if the test has passed.
15 years ago
Thanks Jan.

I do understand that it outputs the suite name, so what I'm asking is if there is a way to make it output the suite and then test class name.
15 years ago
Thanks. In relation to this though, it doesn't seems like the junit ant task actually outputs the class name of each test to the xml file, so I wouldn't be able to retrieve it with the XSLT file.

I have a test suite that runs tests for many classes. I can see all of the individual tests that were run for that suite, but I cannot get the class of one of those tests ... see what I'm saying? I think this requires changing the output of the junit ant task.

On an unrelated topic, I did have another question. Is there a way to do conditionals (specifically if statements) in ant? I want to set the subject of an email to be one thing if the failure property has been set and the subject to be something else if the build passed?

Thanks!
Jeff
15 years ago
Hi, is there a way to customize what gets output to the XML file when you run JUnit from ant and set its "todir" property? I'm trying to add the class name from which the test was executed rather than just the test name.

Thanks,
Jeff
15 years ago
I have been able to achieve the results I needed. I think the fact that I needed to pass custom parameters to a constructor signaled a problem in my design. The old design was not efficiently using EJBs for scalability purposes. I have reworked my design based on your suggestions and now use the default constructor and pass the necessary parameters in the business methods.

Thanks for all of the help.
Jeff
Thanks everyone for all of the input. Those articles were really interesting and pose some good questions. It seems like either way you do the equals method, there are some pros and cons. For my purposes, I'm going to stick with the instanceof operator.

Jeff
15 years ago
Garrett,

Thanks for these articles. I'm glad to see I'm not the only one thinking about these problems.

Thanks,
Jeff
15 years ago