On Jul 18, 2007, at 3:03 PM, Joshua Archer wrote:
>
> On Jul 18, 2007, at 2:03 PM, Chuck Hill wrote:
>
>
>>
>> Delayed Caffeine Reaction kicks in.
>>
>> blah blah blah /build/ blah blah blah
>>
>> /build/ ==> Xcode cruft. It is finding the Xcode built version of
>> the framework and loading it too.
>>
>> rm -r /Users/jarcher/Development/pachyderm/branches/2.1.x/
>> Frameworks/PXFoundation/build
>>
>> And try again.
>>
>> Chuck
>
> It appears this directory is getting built by the framework each
> time in Eclipse. I deleted it, reinstalled the framework, and the
> errors came back, as did the build dir.
Hmm, that is probably something from the incremental builder.
Try adding this to your main:
StringBuffer output = new StringBuffer();
Properties systemProperties = System.getProperties();
String classpath= systemProperties.getProperty
("java.class.pathr");
String pathSeparator = systemProperties.getProperty
("path.separator");
NSArray classPathComponents =
NSArray.componentsSeparatedByString(systemProperties.getProperty
(propertyName),
pathSeparator);
Enumeration classpathEnumeration =
classPathComponents.objectEnumerator();
while (classpathEnumeration.hasMoreElements())
{
String jarPath = (String)
classpathEnumeration.nextElement();
output.append(jarPath + "\n");
try
{
File jarFile = new File(jarPath);
output.append((jarFile.isFile() ? " -->
Exists\n" : "*** --> Does not Exist!\n"));
}
catch (Throwable t)
{
output.append("Exception validating
classpath: " + t + "\n");
}
}
}
System.out.println(output).
Chuck
--Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects
This archive was generated by hypermail 2.0.0 : Wed Jul 18 2007 - 18:31:54 EDT