[
https://issues.apache.org/jira/browse/SHINDIG-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584849#action_12584849
]
henning edited comment on SHINDIG-20 at 4/2/08 3:27 PM:
-----------------------------------------------------------------------
I got Shindig to run with Jetty inside Eclipse using MyEclipse web feature and
some Eclipse links to put all the required stuff in the right places:
create a variable pointing to your shindig location on the file system:
SHINDIG_HOME
- create a folder "src/resources" in the gadgets Eclipse project
- link src/resources/features to SHINDIG_HOME/features
- link src/resources/files to 'SHINDIG_HOME/javascript'
- create src/resources/syndicators
- link 'src/resources/syndicators/default' to 'SHINDIG_HOME/config'
- link 'src/main/webapp/files' to 'SHINDIG_HOME/javascript'
- now add 'src/resources' as a source directory to the project. This ensures
that everything in that
folder gets copied into WEB-INF/classes when deploying with MyEclipse.
- Add a webapp deployment on jetty, deploy and start jetty. I actually used
Jetty 5 which worked well.
There are a couple of places where '/gadgets' is still hard coded in the
container, so the deployment would want to be on '/gadgets'
I was wondering if it is possible to get this mapped out using a custom
launcher and different locations. The problem that I can see here is that you
need to have a number of folders mapped into classes for resource availability.
was (Author: henning):
I got Shindig to run with Jety inside Eclipse using MyEclipse web feature
and some Eclipse links to put all the required stuff in the right places:
create a variable pointing to your shindig location on the file system:
SHINDIG_HOME
- create a folder "src/resources" in the gadgets Eclipse project
- link src/resources/features to SHINDIG_HOME/features
- link src/resources/files to 'SHINDIG_HOME/javascript'
- create src/resources/syndicators
- link 'src/resources/syndicators/default' to 'SHINDIG_HOME/config'
- link 'src/main/webapp/files' to 'SHINDIG_HOME/javascript'
- now add 'src/resources' as a source directory to the project. This ensures
that everything in that
folder gets copied into WEB-INF/classes when deploying with MyEclipse.
- Add a webapp deployment on jetty, deploy and start jetty. I actually used
Jetty 5 which worked well.
There are a couple of places where '/gadgets' is still hard coded in the
container, so the deployment would want to be on '/gadgets'
I was wondering if it is possible to get this mapped out using a custom
launcher and different locations. The problem that I can see here is that you
need to have a number of folders mapped into classes for resource availability.
> Add a jettyLauncher to run shindig from Eclipse
> -----------------------------------------------
>
> Key: SHINDIG-20
> URL: https://issues.apache.org/jira/browse/SHINDIG-20
> Project: Shindig
> Issue Type: Improvement
> Components: Gadgets Server - Java
> Environment: All
> Reporter: Vincent Demay
> Attachments: jettyLauncher.patch.txt, jettyLauncher.patch.txt,
> jettyLauncher.patch.txt
>
>
> I'm going to attach a patch in order to be able to run shindig server
> directly from eclipse as a simple java application
> Rigth click on Launcher.java and "run as java application"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.