[
https://jira.jboss.org/browse/JBDS-1402?page=com.atlassian.jira.plugin.sy...
]
Dan Florian commented on JBDS-1402:
-----------------------------------
This change is needed because the current repository location that ModeShape Tools uses
does not get sequenced. I checked-in a change to the publishing wizard to allow for a
workspace path to be set. The workspace path defaults to "/files", which is the
ModeShape default path, but the user can change it or clear it out if they want. Different
workspaces may have different workspace paths. The wizard remembers the last path that was
used. I verified that when the default workspace path is used, or any subfolder of the
default path, the files are getting sequenced. However after check-in, I realized the
change I just made caused other issues.
Since users can change the workspace path whenever they use the publishing wizard, the
same file can now be uploaded to multiple locations within the same repository. The
PublishedLocationsDialog was implemented assuming a file could only appear in one location
in the repository. So as it stands right now, this dialog only shows one location per
workspace for each published file. And what makes things even worse is the location that
it shows does *not* include the workspace path. Obviously, this dialog needs to show all
locations; each having the correct URLs.
The changes I already made, along with the needed changes to PublishedLocationsDialog,
would resolve this issue. However, there is a better way things can be done. Last night,
ModeShape implemented a change (see
https://jira.jboss.org/browse/MODE-1020) that would
allow ModeShape Tools to query ModeShape for the workspace areas currently being sequenced
for a given workspace. ModeShape Tools' publishing wizard could offer these choices to
the user.
When publishing a file to ModeShape using JBDS, there should be the
option to specifiy the "workspacepath", because this path is what the server
looks for when determining what to sequence.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBDS-1402
URL:
https://jira.jboss.org/browse/JBDS-1402
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Task
Components: Modeshape
Affects Versions: 4.0.0.Beta2
Reporter: Van Halbert
Assignee: Max Andersen
Fix For: 4.0.0.Beta2
When using the JBDS to publish to ModeShape, the option should be available to specify
the "workspacepath". This path is what the server looks for when determining
what to sequence.
The publish example in SOA specifies this argument and when the files are published, the
sequenced information is appropriately seen in the expected tables (i.e., model:xmi).
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira