facebook

code assist/completion for @ejb.permission role-name

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #246710 Reply

    sanjeev_rao
    Member

    I do not know is MyEclipse supports this or not, but I want to be able to use code assist/completion for non-standard tag values, specifically

    @ejb.permission role-name="dam_user"

    I want it to tell me what options I have for role names and of course “dam_user” must be one of them.

    “dam_user” is an internal role, of course and is specified in the META-INF/weblogic-security-role-assignment.xml file which is what is used by the weblogic too. When I try to use Control-Space, I get a red “ERROR” in the status bar.

    Feel free to ask more questions.

    Here is my configuration.

    *** Date: Mon Feb 13 15:32:36 PST 2006
    
    *** System properties:
    OS=Linux
    OS version=2.6.11.4-21.7-smp
    Java version=1.4.2_10
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    
    Version: 4.1.0 GA
    Build id: 20060122-4.1-GA
    
    *** Eclipse details:
    Eclipse SDK
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse Platform
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse RCP
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse Java Development Tools
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse Plug-in Development Environment
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse Project SDK
    
    Version: 3.1.2
    Build id: M20060118-1600
    
    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86
    -launcher
    /home/sanjeev/eclipse3.1.2/eclipse/./eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    62d70011
    -vm
    /usr/lib/jvm/java/bin/java
    

    Here is the seemingly relevant portion error log. Pasted is the last entry from the “View Error Log” window. Note that the problem was reproduced successfully over 45 minutes after the 2006-02-13 14:40:15.865 timestamp, but there is no entry in the error log file for that time.

    
    
    !ENTRY org.eclipse.team.cvs.core 4 0 2006-02-13 14:40:15.865
    !MESSAGE Resource /dam/.xdoclet is not local.
    !STACK 1
    org.eclipse.core.internal.resources.ResourceException: Resource /dam/.xdoclet is not local.
        at org.eclipse.core.internal.resources.Resource.checkLocal(Resource.java:316)
        at org.eclipse.core.internal.resources.Resource.getSessionProperty(Resource.java:983)
        at org.eclipse.team.internal.ccvs.core.resources.FileModificationManager.isCleanUpdate(FileModificationManager.java:147)
        at org.eclipse.team.internal.ccvs.core.resources.FileModificationManager.resourceChanged(FileModificationManager.java:122)
        at org.eclipse.team.internal.ccvs.core.resources.FileModificationManager$1.visit(FileModificationManager.java:75)
        at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
        at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
        at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
        at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
        at org.eclipse.team.internal.ccvs.core.resources.FileModificationManager.resourceChanged(FileModificationManager.java:52)
        at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:276)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:270)
        at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:144)
        at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:180)
        at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:916)
        at org.eclipse.core.internal.resources.File.create(File.java:170)
        at org.eclipse.core.internal.resources.File.create(File.java:183)
        at org.jboss.ide.eclipse.xdoclet.run.configuration.ProjectConfigurations.serializeConfigurations(ProjectConfigurations.java:309)
        at org.jboss.ide.eclipse.xdoclet.run.configuration.ProjectConfigurations$2.run(ProjectConfigurations.java:241)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    !SUBENTRY 1 org.eclipse.core.resources 4 369 2006-02-13 14:40:15.866
    !MESSAGE Resource /dam/.xdoclet is not local.
    #246721 Reply

    Riyad Kalla
    Member

    Autocomplete in this scenario is not supported at this time, sorry.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: code assist/completion for @ejb.permission role-name

You must be logged in to post in the forum log in