[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3363) Drag'n'Drop of deployable files does not work on Server view

Rob Stryker (JIRA) jira-events at lists.jboss.org
Mon Jan 19 08:27:04 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12448536#action_12448536 ] 

Rob Stryker commented on JBIDE-3363:
------------------------------------

Whatt you're suggesting is how it would work ideally... however... the API only says "is this object convertable into an IModule?" and I return yes or no.   If I return yes, as on a drag and drop would seem reasonable, then any other place that API is called, I'd be turning that object into something deployable.

That API is also called when right-clicking on any resource, as the creation of the context menu calls the API to see if the object is already deployable and can be "run on server".    So if someone right-clicks on the src folder, it will ask me "is src deployable?" the same as it would if someone dragged "src" into the view. 

So I can't go making things deployable in this API because the API gets called in a bunch of places. If I did, maybe you start a new workspace, import a project, right-click a file to rename it, right-click another file to check its properties, right-click a few more randomly over the next hour, and then when you go to add-remove projects, you see 100 things listed, some .class files, some jars, some java files, etc. 

> Drag'n'Drop of deployable files does not work on Server view
> ------------------------------------------------------------
>
>                 Key: JBIDE-3363
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3363
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.0.0.cr1
>            Reporter: Max Rydahl Andersen
>            Assignee: Rob Stryker
>             Fix For: 3.0.0.CR2
>
>
> It seems like I can drag'n'drop WTP modules to a server, but I can't do it for single files (i.e. -ds.xml)
> I have to Make Undeployable and then Make Deployable to have it work.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list