- This topic has 9 replies, 3 voices, and was last updated 19 years, 2 months ago by Riyad Kalla.
-
AuthorPosts
-
ericmickMemberI’m trying to switch our project to Eclipse/MyEclipse. The current build creates a deploy directory and the Resin configuration file references it. When configuring my project to deploy there are no options to specify a deployment directory. It appears that I can only deploy the Web app to RESIN_HOME/deploy.
Here’s the Resin conf snippet:
<!– configures the default host, matching any host name –>
<host id=”” root-directory=”.”>
<!–
– configures an explicit root web-app matching the
– webapp’s ROOT
–>
<web-app id=”/” document-directory=”C:/company/dev/app50/deploy/b2c-admin/wwwroot”/>
</host>Thanks.
Eric.
Riyad KallaMemberEric, when you create the deployment, you can use a custom location to specify a directory of your choosing, does this suffice?
ericmickMemberI don’t see this option. Click Deploy and there is no way to change the deployment location. It’s read only and always points to the Resin home directory.
Eric.
Riyad KallaMemberEric,
When you go to create the deployment is when you have the option, not after. Also what version of MyEclipse are you using? I believe this was either added in 3.8.4 or during our 4.0 release cycle, so if you are using an old enough version it’s possible that the feature isn’t even there.
ericmickMemberThank you. I figured it out. You are right. I just needed a little clarification. When I ADD a deployment I have to select “Custom Location” and NOT “resin”. Then I can browse to the directory to deploy to.
Eric.
ericmickMemberI was a little hasty thinking it was solved. I have a single Web project with the web context set to root “/”. When I create the deployment I select “Custom” and point to the deployment location “../deploy”. However, MyEclipse always appends the project name “b2c” and deploys to “../deploy/b2c”. I can see this path in the deployment dialog after it’s created. Is this a bug?
BTW: MyEclipse v4.0GA
Eric.
Riyad KallaMemberIt’s not a bug, the reason for this is because when you “Remove Deployment” the directory you deploy to is erased, in our previous version we let people deploy to anywhere, a few deployed to C:\ and some to their Desktop… needless to say when they went to “Remove Deployment” they also killed their computers. So as a safety measure we force users to put their deployments into new dirs. If your deploy dir is not important, you can erase it and then setup your deployment to that dir.
I would suggest not deploying inside of your own project.
korzhMemberI would like to ask also:
why Resin 3 deploying folder is set to RESIN_HOME/deploy instead of RESIN_HOME/webapps as it should be?
korzhMemberJust to clarify. Above I meant:
“Why Resin3 deploying folder IN MYECLIPSE is set …”
Riyad KallaMemberResin supports deploying apps automatically that are placed in it’s /deploy folder.
-
AuthorPosts