I was working on another batch file today and needed a way for the script to wait for a given number of seconds before continuing to execute. On a whim, I tried the wait command by adding “wait 30“, thinking the script would wait at that spot for 30 seconds before continuing.
The script did wait for 30 seconds, but instead of continuing to execute, it simply Continue reading
I was working on a startup script this morning and needed a way for the script to kill one process before starting up a new process. I’ve used pskill.exe in the past, but wanted to find out if there were any built-in tools in Windows 7 before resorting to Sysinternals components.
It just so happens that Continue reading
This is a coding technique that can help reduce the number of NullPointerExceptions that you need to deal with without resorting to checking for null Strings every time you compare literal values.
This is the way we’re taught to Continue reading
There are lots of websites that explain the pros and cons to using XML vs. JSON so I won’t go into that here. Rather, I’ll give a brief but complete example of how to Continue reading
PTC includes a useful shell script in the Windchill/bin folder named InfoReport.sh (Unix) or InfoReport.bat (Windows) that can be used to learn about the internal fields and methods of various Windchill objects.
The script uses introspection to interrogate a Java class and create a text file report containing Continue reading
In this example we want to change which suppliers can be selected if the type of export is DRW. If any type of export is chosen other than DRW, then one set of suppliers will be Continue reading
Before you can use jQuery in your page you’ll need to add some basics in the page header like so: Continue reading
Welcome to Chilled Java! This is a brand new site so there’s not much to look at yet, but stay tuned for some good stuff coming soon.