facebook

Customize deployment

💡
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 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #212255 Reply

    okuntze
    Member

    hi there,

    i am evaluating myeclipse to possibly replace our handpicked and configured plugin set.

    is there a way to customize the deployment myeclipse offers? i have looked for some build.xml in the plugins folders to modify but could not find anything appropriate.
    for example i have all property files in a folder ‘config’ under the project root. i usually have my handmade ant script copy these files to the web app class path at deployment time. i would like to use the myeclipse deploy button instead of calling my own ant script to deploy the app. is it possible to customize myeclipse so that it isn’t that strict with property file locations and stuff?

    thanks in advance for the help!

    best regards,

    oliver

    #212262

    Scott Anderson
    Participant

    Oliver,

    If your config folder just has properties files in it, I believe you can simply add it to your project’s Java build path as a source folder. The default Eclipse behavior for any non-Java files found in a source folder is to copy them to the folder’s designated build output location. The default build output location for source folders in a Web project is WEB-INF/classes. So, this simple copy done by the build system will automatically place your files on the classpath.

    #212277

    okuntze
    Member

    thanks for the prompt answer, scott!

    that worked! learned something new about eclipse. 😉

    btw, is there any way to customize e.g. myeclipse deployment behaviour (with lomboz for example one can ‘enhance’ their build.xml to do some extra stuff when hitting the ‘deploy’ button)?

    great tool you are offering!

    cheers,

    oliver

    #212293

    Riyad Kalla
    Member

    btw, is there any way to customize e.g. myeclipse deployment behaviour

    Oliver, currently there isn’t its pretty straight forward. However this is an area of enhancement that we wish to improve in the future. Some users suggested “hooks” that we could allow people to tap into… there hasn’t been a final deicison made on this though.

    #215288

    bruce2
    Member

    Riyad:

    Is it possible to extract a build.xml from a myeclipse project? Alternately, is it possible to force myeclipse to use an existing build.xml file in lieu of its standard deployment?

    What I really need is some way to deploy a .sar file for JBoss with Hibernate. How can I do this within myeclipse?

    #215294

    Riyad Kalla
    Member

    Bruce you cannot currently integrate or extract Ant build scripts from ME. If you need to deploy a .sar file then you would need to writ eyour own Ant script as part of your project to do that for you, many of our users get around ‘custom deployment’ limitations by doing this.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Customize deployment

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