[Issue 6012] Problem saving project to network drive (SharePoint)

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6012






------- Additional comments from [email protected] Mon Jan 16 04:43:55 -0800 2012 -------
I have the same problem at work - this really hinders my use of ArgoUML.

The exception I get is - see below:

My analysis:
The temporary file ending in a "#" can not be created since the Sharepoint
server (with rudimentary version control) does not allow me to create this file.
The "#" is the problem.

If I open the path given in the exception in the Windows Explorer, then I can
manually create any file, but not name it by using "#". Other refused chars are
"?", "~", "%" and "&". Other accepted chars are "@", "$" and ";".

Hence, an easy solution would be to use only chars that are supported by this
restricted system.


The exception:

org.argouml.persistence.SaveException: Failed to archive the previous file version
at
org.argouml.persistence.OldZargoFilePersister.doSave(OldZargoFilePersister.java:130)
at
org.argouml.persistence.AbstractFilePersister.save(AbstractFilePersister.java:252)
at org.argouml.ui.ProjectBrowser.trySave(ProjectBrowser.java:1387)
at org.argouml.ui.SaveSwingWorker.construct(SaveSwingWorker.java:115)
at org.argouml.ui.SwingWorker.doConstruct(SwingWorker.java:153)
at org.argouml.ui.SwingWorker$2.run(SwingWorker.java:281)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException:
\\sp.mycompany.be\DavWWWRoot\it\projectArea\Documents\DomainModel4.zargo# (The
filename, directory name, or volume label syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream. (Unknown Source)
at java.io.FileOutputStream. (Unknown Source)
at
org.argouml.persistence.AbstractFilePersister.copyFile(AbstractFilePersister.java:146)
at
org.argouml.persistence.AbstractFilePersister.createTempFile(AbstractFilePersister.java:126)
at
org.argouml.persistence.OldZargoFilePersister.doSave(OldZargoFilePersister.java:128)
... 6 more

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=2909131

To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.
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.