facebook

[Closed] Problem deploying artifacts from an External Tool

💡
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 Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #255600 Reply

    Erik
    Member

    Hello there. I’m hoping someone might be able to help troubleshoot an auto-deploy problem.

    I have a simple Web Project set up in Eclipse 3.2 with MyEclipse 5.0 M2. The project uses a typical Maven project layout with various configuration files in src/main/resources. Because these files contain filter tokens that need to be replaced when the application is built, I’ve set up an External Tool in Eclipse to execute the Maven “resources:resources” target. This copies the configuration files to the webapp directory (src/main/webapp/WEB-INF/classes) and replaces the tokens.

    The problem is that after executing the External Tool, the updated files aren’t being deployed to the app server (Resin 3.0.19). If I right-click on the project and select “Refresh” the files will be deployed. However, it doesn’t seem like this should be necessary since I have the External Tool set up to refresh all resources after completion.

    I’d appreciate any help getting the External Tool to correctly refresh the resources to trigger the auto-deploy.

    Thanks,
    Erik

    #255665

    Riyad Kalla
    Member

    Erik,
    Try going to Window > Preferences > General > Workspace and check “refresh automatically”. MyEclipse’s deployment is hooked into the build cycle, so that’s how it knows when there are new things to deploy out to the app server.

    #255753

    Erik
    Member

    Hello Riyad,

    That did the trick! Thanks for the help.

    Cheers,
    Erik

    #255754

    Riyad Kalla
    Member

    Good deal, glad it worked.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] Problem deploying artifacts from an External Tool

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