woproject/projects/wolips/plugins/org.objectstyle.wolips.variables/java/org/objectstyle/wolips/variables VariablesPlugin.java,1.7,1.8
[email protected] Sun, 26 Feb 2006 08:09:02 -0800 (PST)
| Newsgroups | gmane.comp.web.webobjects.woproject.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.variables/java/org/objectstyle/wolips/variables
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12445/java/org/objectstyle/wolips/variables
Modified Files:
VariablesPlugin.java
Log Message:
reverting... not compatible with 3.2M4
Index: VariablesPlugin.java
===================================================================
RCS file: /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.variables/java/org/objectstyle/wolips/variables/VariablesPlugin.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- VariablesPlugin.java 26 Feb 2006 08:39:34 -0000 1.7
+++ VariablesPlugin.java 26 Feb 2006 16:08:23 -0000 1.8
@@ -2,7 +2,7 @@
*
* The ObjectStyle Group Software License, Version 1.0
*
- * Copyright (c) 2004 - 2006 The ObjectStyle Group
+ * Copyright (c) 2004 - 2005 The ObjectStyle Group
* and individual authors of the software. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -61,7 +61,6 @@
import java.util.Dictionary;
import org.eclipse.ant.core.AntRunner;
-import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;
@@ -107,8 +106,8 @@
monitor = new NullProgressMonitor();
File tmpFile = File.createTempFile("wolips", "xml");
FileOutputStream fileOutputStream = new FileOutputStream(tmpFile);
- InputStream inputStream = FileLocator.openStream(this.getBundle(),
- new Path(VariablesPlugin.build_user_home_properties), false);
+ InputStream inputStream = this.openStream(new Path(
+ VariablesPlugin.build_user_home_properties));
int aByte = 0;
while (aByte >= 0) {
aByte = inputStream.read();
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642