facebook

"Building workspace" slower when PC is online [Clo

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

    I’m using Eclipse 3.0 and MyEclipse 3.8.3 on a PIV 2.4 with 1GB RAM, connected to the internet using a very slow and unreliable GPRS connection (~30KBps).

    I created a J2EE project, which uses JBoss 4.0 as container.
    Every time I run XDoclet, it takes about 10 seconds to generate all files, and then the IDE hangs for 2 or more minutes, with a message “building workspace 10%”. This happens only when I’m connected to the internet, whilst if I disconnect, the workspace is rebuilded in one or two seconds.

    I presume this behavior is due to online checks made during workspace building – probably dtd validation, since when offline both jboss.xml and jbosscmp-jdbc.xml reports an error “unable to connect to http://www.jboss.org” – but everything works fine.

    I tried to add the two dtd referenced by these 2 xml files in the workspace, and manually changing them in order to point to my local installation, but these changes are lost every time I run xdoclet, so this doesn’t solve my problem.

    How can I disable these online checks? Is there a way to tell the IDE to work in ‘offline mode’?

    Thanks
    Antonio

    #222540 Reply

    Riyad Kalla
    Member

    Antonio,
    Two things you can do are:

    1) Try and add the DTDs (or schemas) to the XML Catalog in MyEclipse (Window > Prefs > MyEclipse> Editors > XML > XML Catalog)
    2) If that doesn’t work, you can disable XML validation for that project by going to Project Properties > Validation and unchecking “XML Validation”

    #222665 Reply

    Solution nr.1 has solved the problem.

    Thanks
    Antonio

    #222670 Reply

    Riyad Kalla
    Member

    Glad it worked.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: "Building workspace" slower when PC is online [Clo

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