svn commit: r13275 - trunk/src_new/org/argouml/persistence/ZipFilePersister.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-08-09 12:32:43-0700
New Revision: 13275

Modified:
   trunk/src_new/org/argouml/persistence/ZipFilePersister.java

Log:
Remove search path code so that it can be handled in common place.

Modified: trunk/src_new/org/argouml/persistence/ZipFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/persistence/ZipFilePersister.java?view=diff&rev=13275&p1=trunk/src_new/org/argouml/persistence/ZipFilePersister.java&p2=trunk/src_new/org/argouml/persistence/ZipFilePersister.java&r1=13274&r2=13275
==============================================================================
--- trunk/src_new/org/argouml/persistence/ZipFilePersister.java	(original)
+++ trunk/src_new/org/argouml/persistence/ZipFilePersister.java	2007-08-09 12:32:43-0700
@@ -227,14 +227,6 @@
                     new XmiInputStream(stream, this, 100000, null));
             is.setSystemId(file.toURL().toExternalForm());
 
-            // Add the path of the current model to the search path, so we can
-            // find linked models relative it
-            String path = file.getParent();
-            if (path != null) {
-                System.setProperty("org.argouml.model.modules_search_path",
-                        path);
-            }
-            
             ModelMemberFilePersister modelPersister =
                 new ModelMemberFilePersister();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.