facebook

Setting up path on Myeclipse for a project deployed on Jboss

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    sujurocks
    Member

    Hi,
    I am new to myeclipse.I am trying debug a web project on myeclipse – i created a new web project with “web” as the webmodule. imported as “file system” the new project.I have a eclipse 5.5.I have linked it to Jboss 5.0.I deployed the application and am trying to debug the application on startup.I have a bunch of xml files that exist in another location in the project, the names of which are read during start up from an properties file.

    eg: xmlnames.properties is read on startup.It has entries like
    BUSINESS_INDUSTRY_SPECIFIC_VALUE=/InsertBusinessProcess/BusinessIndustrySpecificValue/processdefinition.xml

    Dir structure is
    /root/
    /config/
    /xmlconfigroot/
    /config1/
    /config2/

    config1/ wud have the processdefinition.xml i am looking for.

    I start the server in debug, and reach to the part where i look up the xml file name, using

    InputStream inputStream = this.getClass().getClassLoader() .getResourceAsStream(con1.trim());

    where con1 is the path to “processdefinition.xml ” looked up from the properties file.
    It is not able to locate the con1 file.Its a problem with the path, but i dont know what i need to do – shud i change something in Jboss or is it some project level setting that i have to change.?

    Thank you in advance.

    #282292

    Loyal Water
    Member

    I’m a little confused about what your trying to do here, Can you please go through this quickstart doc to get an idea on how Web Projects work in MyEclipse and the rephrase your question:-
    http://www.myeclipseide.com/documentation/quickstarts/webprojects/

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Setting up path on Myeclipse for a project deployed on Jboss

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