facebook

Retro-fitting capabilities for existing projects

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #251807 Reply

    qwest3rdc
    Member

    Receiving this following message (and others like it) when trying to use specialized editors (struts-config, faces-config, etc)
    Unable to create this part due to an internal error. Reason for the failure: Project ‘PR_IPS0’ is not configured as a MyEclipse Web-Struts Project. Therefore the MyEclipse Struts Editor may not be used with struts-config.xml. The default XML Editor has been used to open the file instead.

    Is there a way to inform MyEclipse that my project(s) already has these capabilities? (The menu choices are either non-existent or are grayed out)

    #251819 Reply

    Riyad Kalla
    Member

    When you open your project, do you have a “MyEclipse-Web” preference panel listed? If you switch to the Navigator view, do you see a .mymetadata, .mystrutsdata or a .myfacesdata files?

    If not, if you right click on the root of the project and go down to MyEclipse, what options are listed? I’d point out that grayed out options shouldn’t be listed *if* the project already has those capabilities added.

    And lastly, please paste the result of going to the MyEclipse menu, click it, then click “About MyEclipse”, then click “Configuration Summary”

    #251829 Reply

    qwest3rdc
    Member

    Should mention that our project structure does NOT conform to a traditional web project as defined by MyEclipse or WTP

    Don’t think there is a MyEclipse-Web preferences panel; not sure where it would appear?
    No .mymetadata, .mystrutsdata, or .myfacesdata files

    Project MyEclipse menu shows Add Spring, WebProject, and Hibernate capabilities

    Workbench MyEclipse menu shows Add Hibernate, JSF[grayed out], Spring, Struts[grayed out], Tapestry[grayed out], JSTL[grayed out], WebProjects and a grayed out Remove WebProjects

    Configuration Summary:
    *** Date: Tue May 09 13:39:52 CDT 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.4.2_05

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.1 GA
    Build id: 20060309-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\devtools\eclipse311\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    90c_64
    -vm
    C:\j2sdk1.4.2_05\BIN\javaw.exe

    #251840 Reply

    Riyad Kalla
    Member

    Unfortunately there is nothing broken here to fix. The error is quite correct, until you add the capabilities appropriate to your project, the specialized editors cannot be used. You mentioned your project doesn’t adhere to the project layout desired by MyEclipse or WTP so that could be a problem. If you’d like help seeing if there is a way to jimmy rig this, please give me your full project outline, be sure to use code blocks to keep the indentation intact.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Retro-fitting capabilities for existing projects

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