facebook

XSD editor nits — properties tab in "MyEclipse" p

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #236731 Reply

    Dave Raymer
    Member

    Windows XP Professional, all latest patches (corporate SMS controlled)
    JDK 5.0
    Eclipse SDK
    Version: 3.1.0
    Build id: I20050627-1435

    MyEclipse 4.0 GA
    Eclipse was not fresh install, MyEclipse over-write of MyEclipse 4.0 M3, via windows installer
    Other Plugins: ANTLR, JDepend4Eclipse, Subclipse, Metrics, Ormando UML, and WindowBuilder PRO

    The XSD editor (which is great) seems to have some presentation issues with the properties tab/view (same in Java or MyEclipse perspectives). Basically the controls are sized to only a small fraction of the available screen space. i did a search and could not find anything that appeared to be related to this problem.

    Is this something peculiar to my installation, or a known issue ? I’m going to try to uninstall myeclipse, then reinstall it and see if I can find joy in Mudville.

    thanks,
    dave

    #236734 Reply

    Scott Anderson
    Participant

    Dave,

    Eclipse was not fresh install, MyEclipse over-write of MyEclipse 4.0 M3, via windows installer

    Overwriting results in unstable configurations. Please note the warning in the announcement here: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-8782.html with details as to why in this annoucement: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-8781.html

    Is this something peculiar to my installation, or a known issue ?

    Performing a complete uninstall, a restart with -clean, a full reinstall, and a restart with -clean might work. But, I’d recommend starting with a new Eclipse 3.1 installation to be safe.

    #236737 Reply

    Dave Raymer
    Member

    Scott,

    Thanks for your quick reply. Here’s what I did.

    (1) uninstalled myeclipse (via control panel –> add/remove programs)
    (2) reinstalled myeclipse 4.0 GA via downloaded executable

    resulted in same problem

    (1) uninstalled myeclipse (again, via control panel)
    (2) created a new eclipse 3.1 installation
    (3) installed myeclipse into the “pristine” eclipse installation (not into, but pointing to, separate directories, siblings in the file system)
    (4) started eclipse from the pristine installation, in a pristine workspace
    (5) created a pristine java project
    (6) switched to myeclipse perspective
    (7) created a new XSD file from the myeclipse “types” on the “new” pulldown menu from file in the main menu bar

    and the survey says … same results, the property tab is wonky. I can provide you a screen shot if that would help any.

    best regards,
    dave

    #236743 Reply

    Scott Anderson
    Participant

    Dave,

    Please send us a screenshot as to what you’re seeing to support@genuitec.com and please include the URL of this thread so we’ll remember where to post back a reply.

    #236780 Reply

    Dave Raymer
    Member

    Scott,

    email has been dispatched as requested. As a point of record for the thread, I see the same problem on my linux workstations (Gentoo, 2.6 kernel) at home.

    best regards,
    dave

    #236789 Reply

    Scott Anderson
    Participant

    Dave,

    Got it and we entered a PR for a fix in the next release. Thanks for running this down for us. Sorry for the inconvenience until the fix is available.

    #246773 Reply

    sanjeev_rao
    Member

    I still get this after a clean install of eclipse (version 3.1.2) and myeclipse (version: 4.1.0 GA Build id: 20060122-4.1-GA). What is the status of this bug? In case the bug is not fixed, please suggest a good alternative to create/edit XSD documents.

    #246779 Reply

    Riyad Kalla
    Member

    Sanjeev,
    I looked this up and we still have an open bug for a chopped message: “Properties are not…”, is this what you are seeing? Turns out it’s not a bug, but the message should be “Properties are not available”, meaning the thing you currently have selected has no properties to show you.

    #246846 Reply

    sanjeev_rao
    Member

    ————————————————————————————————
    Yes, you are correct.

    However, I am still at a loss to see how to use Myeclipse for XSD development. Your feature list at http://www.myeclipseide.com/index.php?module=ContentExpress&func=display&ceid=6&meid=-1. Please point me to a tutorial that tells me how to access all the following features that should have been there since 3.8.1

    ————————————————————————————————
    MyEclipse 3.8.1 (August 2004)
    * New XML and XSD editors
    o Support for XSL and DTD design
    o User-extensible XML DTD/Schema catalog
    o Code completion and syntax highlighting for DTD-based or XSD-based documents
    o Formatting and real time validation ‘as you type’
    o Integrated outline view with insert/delete/move node capabilities
    o Integrated editable properties view
    o Graphical editing for XSD files
    o Create example XML document for any XSD file
    ————————————————————————————————
    Please point me to information that will walk me through the creation of a simple XSD file like the following including code-assist/code completion. Currently, it says “Content assist not available at the current location” in red at the status bar.

    
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
        <xs:element name="name" type="xs:token"/>
    </xs:schema>
     
    

    ————————————————————————————————

    
    *** 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 
    
    #246850 Reply

    Riyad Kalla
    Member

    o Support for XSL and DTD design

    Source editing (no designer)

    o User-extensible XML DTD/Schema catalog

    Window > Preferences > MyEclipse > Editors > XML > XML Catalog

    o Code completion and syntax highlighting for DTD-based or XSD-based documents

    CTRL-Space. I just created the following blank file:

    
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    </xsd:schema>
    

    And tried autocomplete within the xsd:schema tags and it worked, can you try that locally and see if you get it (go to the end of line 1 and press enter, then open a tag and type <xsd: and hit CTRL-Space)

    o Formatting and real time validation ‘as you type’

    Formatting: Right-click menu or CTRL-SHIFT-L

    Realtime Validation: Start typing junk characters, you’ll see them marked in the right margin and underlined in red.

    o Integrated outline view with insert/delete/move node capabilities

    Open the outline view and try and insert/delete/move nodes.

    o Integrated editable properties view

    Open the properties view and start navigating around your file, note how it updates and you can edit using it.

    o Graphical editing for XSD files

    Open your XSD file, on the bottom of the editor click “Graph”.

    o Create example XML document for any XSD file

    Right click on any XSD file you have, go to MyEclipse > Generate XML File…

    Hope that helps.

    #246908 Reply

    sanjeev_rao
    Member

    JDK 1.5 did the trick.

    I was trying to avoid using JDK 1.5.0 because : –

    1. My project was setup for JDK 1.4.2. Eclipse itself allows for this and myeclipse does not disallow it.
    2. I want EJB Doclet/XDoclet to run under ant using JDK 1.4.2. Again, Eclipse itself allows for this and myeclipse does not disallow it. However, under classpath, it included a tools.jar from JDK 1.5.0 that would cause the ant build to fail with the following.

    
    java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0)

    I think this is entirely eclipse’s fault, not Myeclipse’s. I was able to override the classpath to add tools.jar from JDK1.4.2. Everything is now fine.

    I use JDK 1.5.0 and now have code-assist for XSD files. Everything else in that list already worked for me.

    However, the graph tab does not update automatically for me. No big deal, though.

    Keep up the good work.
    -Sanjeev

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: XSD editor nits — properties tab in "MyEclipse" p

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