[xwiki-users] Debugging XWiki on Eclipse
Hi there, I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6. I've managed to fork and clone the sources from GitHub. I can build and install them to my local Maven repository without a problem. Now i'm trying to debug it on Eclipse, following this guide: http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse I imported the xwiki-debug-eclipse as a Java Project. There is a validation error:
CHKJ3000E: WAR Validation Failed: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml
I did not add any XWiki project to the Deployment Assembly. Do i need to add any core project before i can deploy it to the server? Or do i have to add all of them? PS: Tried posting this to the devs list but was denied. Is this the right place? Thanks in advance, Fernando
On Wed, May 25, 2011 at 03:37, Baratóvsk <[email protected]> wrote:
Hi there,
I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6.
I've managed to fork and clone the sources from GitHub. I can build and install them to my local Maven repository without a problem.
Now i'm trying to debug it on Eclipse, following this guide: http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse
I imported the xwiki-debug-eclipse as a Java Project. There is a validation error:
CHKJ3000E: WAR Validation Failed: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml
I did not add any XWiki project to the Deployment Assembly. Do i need to add any core project before i can deploy it to the server? Or do i have to add all of them?
Did you "look at the README file instructions" ?
PS: Tried posting this to the devs list but was denied. Is this the right place?
It's ok here but there is not special right on dev mailing list so I don't see why it did not work for you.
Thanks in advance, Fernando _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hello Thomas, I had already checked the README.txt. It took some time until i figured out what a "shared resource" is, but i eventually saw the linked resources with a missing path variable... For anyone who didn't see it, you can create the XWIKIPLATFORM path variable by right-clicking any folder with a little red exclamation mark > Properties
Edit... (in front of Location) > Variable... > New.
The CHKJ3000E was something with my workspace. I created a new one, imported the project, validated it, and the error was gone. Thanks, Fernando On Wed, May 25, 2011 at 4:51 AM, Thomas Mortagne <[email protected]>wrote:
On Wed, May 25, 2011 at 03:37, Baratóvsk <[email protected]> wrote:
Hi there,
I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6.
I've managed to fork and clone the sources from GitHub. I can build and install them to my local Maven repository without a problem.
Now i'm trying to debug it on Eclipse, following this guide: http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse
I imported the xwiki-debug-eclipse as a Java Project. There is a validation error:
CHKJ3000E: WAR Validation Failed:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
WEB-INF/web.xml
I did not add any XWiki project to the Deployment Assembly. Do i need to add any core project before i can deploy it to the server? Or do i have to add all of them?
Did you "look at the README file instructions" ?
Yes, but i couldn't "create a XWIKIPLATFORM shared resource". I see it being used as a variable in the .project's linkedResources, but couldn't figure out where to set it.
PS: Tried posting this to the devs list but was denied. Is this the right place?
It's ok here but there is not special right on dev mailing list so I don't see why it did not work for you.
Thanks in advance, Fernando _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
One last question... When i startet the application i got a ClassNotFoundException for org.xwiki.container.servlet.XWikiServletContextListener. I imported the corresponding maven project and added it to the Deployment Assembly. Then, another class was missing... Do i need to import all the projects and link them? Or should they be handled by maven? Thanks again On Thu, May 26, 2011 at 10:37 PM, Baratóvsk <[email protected]> wrote:
Hello Thomas,
I had already checked the README.txt. It took some time until i figured out what a "shared resource" is, but i eventually saw the linked resources with a missing path variable...
For anyone who didn't see it, you can create the XWIKIPLATFORM path variable by right-clicking any folder with a little red exclamation mark > Properties > Edit... (in front of Location) > Variable... > New.
The CHKJ3000E was something with my workspace. I created a new one, imported the project, validated it, and the error was gone.
Thanks, Fernando
On Wed, May 25, 2011 at 4:51 AM, Thomas Mortagne < [email protected]> wrote:
On Wed, May 25, 2011 at 03:37, Baratóvsk <[email protected]> wrote:
Hi there,
I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6.
I've managed to fork and clone the sources from GitHub. I can build and install them to my local Maven repository without a problem.
Now i'm trying to debug it on Eclipse, following this guide: http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse
I imported the xwiki-debug-eclipse as a Java Project. There is a validation error:
CHKJ3000E: WAR Validation Failed:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
WEB-INF/web.xml
I did not add any XWiki project to the Deployment Assembly. Do i need to add any core project before i can deploy it to the server? Or do i have to add all of them?
Did you "look at the README file instructions" ?
Yes, but i couldn't "create a XWIKIPLATFORM shared resource".
I see it being used as a variable in the .project's linkedResources, but couldn't figure out where to set it.
PS: Tried posting this to the devs list but was denied. Is this the right place?
It's ok here but there is not special right on dev mailing list so I don't see why it did not work for you.
Thanks in advance, Fernando _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Fri, May 27, 2011 at 04:52, Baratóvsk <[email protected]> wrote:
One last question...
When i startet the application i got a ClassNotFoundException for org.xwiki.container.servlet.XWikiServletContextListener. I imported the corresponding maven project and added it to the Deployment Assembly. Then, another class was missing...
Do i need to import all the projects and link them? Or should they be handled by maven?
That happen sometime I don't know why, you should try to clean your server. See http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoo... for more details.
Thanks again
On Thu, May 26, 2011 at 10:37 PM, Baratóvsk <[email protected]> wrote:
Hello Thomas,
I had already checked the README.txt. It took some time until i figured out what a "shared resource" is, but i eventually saw the linked resources with a missing path variable...
For anyone who didn't see it, you can create the XWIKIPLATFORM path variable by right-clicking any folder with a little red exclamation mark > Properties > Edit... (in front of Location) > Variable... > New.
The CHKJ3000E was something with my workspace. I created a new one, imported the project, validated it, and the error was gone.
Thanks, Fernando
On Wed, May 25, 2011 at 4:51 AM, Thomas Mortagne < [email protected]> wrote:
On Wed, May 25, 2011 at 03:37, Baratóvsk <[email protected]> wrote:
Hi there,
I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6.
I've managed to fork and clone the sources from GitHub. I can build and install them to my local Maven repository without a problem.
Now i'm trying to debug it on Eclipse, following this guide: http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse
I imported the xwiki-debug-eclipse as a Java Project. There is a validation error:
CHKJ3000E: WAR Validation Failed:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
WEB-INF/web.xml
I did not add any XWiki project to the Deployment Assembly. Do i need to add any core project before i can deploy it to the server? Or do i have to add all of them?
Did you "look at the README file instructions" ?
Yes, but i couldn't "create a XWIKIPLATFORM shared resource".
I see it being used as a variable in the .project's linkedResources, but couldn't figure out where to set it.
PS: Tried posting this to the devs list but was denied. Is this the right place?
It's ok here but there is not special right on dev mailing list so I don't see why it did not work for you.
Thanks in advance, Fernando _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On Fri, May 27, 2011 at 03:37, Baratóvsk <[email protected]> wrote:
Hello Thomas,
I had already checked the README.txt. It took some time until i figured out what a "shared resource" is, but i eventually saw the linked resources with a missing path variable...
For anyone who didn't see it, you can create the XWIKIPLATFORM path variable by right-clicking any folder with a little red exclamation mark > Properties
Edit... (in front of Location) > Variable... > New.
The CHKJ3000E was something with my workspace. I created a new one, imported the project, validated it, and the error was gone.
Thanks, Fernando
On Wed, May 25, 2011 at 4:51 AM, Thomas Mortagne <[email protected]>wrote:
On Wed, May 25, 2011 at 03:37, Baratóvsk <[email protected]> wrote:
Hi there,
I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6.
I've managed to fork and clone the sources from GitHub. I can build and install them to my local Maven repository without a problem.
Now i'm trying to debug it on Eclipse, following this guide: http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse
I imported the xwiki-debug-eclipse as a Java Project. There is a validation error:
CHKJ3000E: WAR Validation Failed:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
WEB-INF/web.xml
I did not add any XWiki project to the Deployment Assembly. Do i need to add any core project before i can deploy it to the server? Or do i have to add all of them?
Did you "look at the README file instructions" ?
Yes, but i couldn't "create a XWIKIPLATFORM shared resource".
I see it being used as a variable in the .project's linkedResources, but couldn't figure out where to set it.
It's actually in Eclipse workspace preferences. I will put some screenshots on http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse
PS: Tried posting this to the devs list but was denied. Is this the right place?
It's ok here but there is not special right on dev mailing list so I don't see why it did not work for you.
Thanks in advance, Fernando _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On Fri, May 27, 2011 at 4:10 AM, Thomas Mortagne <[email protected]>wrote:
On Fri, May 27, 2011 at 04:52, Baratóvsk <[email protected]> wrote:
One last question...
When i startet the application i got a ClassNotFoundException for org.xwiki.container.servlet.XWikiServletContextListener. I imported the corresponding maven project and added it to the Deployment Assembly. Then, another class was missing...
Do i need to import all the projects and link them? Or should they be handled by maven?
That happen sometime I don't know why, you should try to clean your server. See http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoo... for more details.
Sorry, forgot to mention that cleaning the project didn't work for me. I asked if i need to import them all because of the second possibility:
"you forgot to add your opened jar project to the deployment assembly, see Link Jar project to the web project<http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_ImportJarProjects#HLinkJarprojecttothewebproject> "
I'll try to fix it tonight. Thanks for updating the tutorial.
Thanks again
On Thu, May 26, 2011 at 10:37 PM, Baratóvsk <[email protected]> wrote:
Hello Thomas,
I had already checked the README.txt. It took some time until i figured out what a "shared resource" is, but i eventually saw the linked resources with a missing path variable...
For anyone who didn't see it, you can create the XWIKIPLATFORM path variable by right-clicking any folder with a little red exclamation mark
Properties > Edit... (in front of Location) > Variable... > New.
The CHKJ3000E was something with my workspace. I created a new one, imported the project, validated it, and the error was gone.
Thanks, Fernando
On Wed, May 25, 2011 at 4:51 AM, Thomas Mortagne < [email protected]> wrote:
On Wed, May 25, 2011 at 03:37, Baratóvsk <[email protected]> wrote:
Hi there,
I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat
I've managed to fork and clone the sources from GitHub. I can build and install them to my local Maven repository without a
problem.
Now i'm trying to debug it on Eclipse, following this guide: http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse
I imported the xwiki-debug-eclipse as a Java Project. There is a validation error:
CHKJ3000E: WAR Validation Failed:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
WEB-INF/web.xml
I did not add any XWiki project to the Deployment Assembly. Do i need to add any core project before i can deploy it to the server? Or do i have to add all of them?
Did you "look at the README file instructions" ?
Yes, but i couldn't "create a XWIKIPLATFORM shared resource".
I see it being used as a variable in the .project's linkedResources, but couldn't figure out where to set it.
PS: Tried posting this to the devs list but was denied. Is this the right place?
It's ok here but there is not special right on dev mailing list so I don't see why it did not work for you.
Thanks in advance, Fernando _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
It's running fine now! I modified two things before it started working: 1. The path to my xwiki-platform folder had an empty space. I renamed the folder to remove the empty space. I had some problems with an Eclipse-base IDE at work because of paths containing spaces. 2. I moved the path variable to workspace-level. I spent some time trying to make the Colibri's top menu (the one with the green Add button) to appear. It wasn't working because the xwiki.defaultbaseskin property in the xwiki.cfg was still referencing the albatross skin. I replaced the entire xwiki.cfg with the latest milestone release and now it's working without a problem. On Fri, May 27, 2011 at 4:53 PM, Baratóvsk <[email protected]> wrote:
On Fri, May 27, 2011 at 4:10 AM, Thomas Mortagne < [email protected]> wrote:
On Fri, May 27, 2011 at 04:52, Baratóvsk <[email protected]> wrote:
One last question...
When i startet the application i got a ClassNotFoundException for org.xwiki.container.servlet.XWikiServletContextListener. I imported the corresponding maven project and added it to the Deployment Assembly. Then, another class was missing...
Do i need to import all the projects and link them? Or should they be handled by maven?
That happen sometime I don't know why, you should try to clean your server. See http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoo... for more details.
Sorry, forgot to mention that cleaning the project didn't work for me.
I asked if i need to import them all because of the second possibility:
"you forgot to add your opened jar project to the deployment assembly, see Link Jar project to the web project<http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_ImportJarProjects#HLinkJarprojecttothewebproject> "
I'll try to fix it tonight. Thanks for updating the tutorial.
Thanks again
On Thu, May 26, 2011 at 10:37 PM, Baratóvsk <[email protected]> wrote:
Hello Thomas,
I had already checked the README.txt. It took some time until i figured out what a "shared resource" is, but i eventually saw the linked resources with a missing path variable...
For anyone who didn't see it, you can create the XWIKIPLATFORM path variable by right-clicking any folder with a little red exclamation mark > Properties > Edit... (in front of Location) > Variable... > New.
The CHKJ3000E was something with my workspace. I created a new one, imported the project, validated it, and the error was gone.
Thanks, Fernando
On Wed, May 25, 2011 at 4:51 AM, Thomas Mortagne < [email protected]> wrote:
On Wed, May 25, 2011 at 03:37, Baratóvsk <[email protected]> wrote:
Hi there,
I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6.
I've managed to fork and clone the sources from GitHub. I can build and install them to my local Maven repository without a problem.
Now i'm trying to debug it on Eclipse, following this guide: http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse
I imported the xwiki-debug-eclipse as a Java Project. There is a validation error:
> CHKJ3000E: WAR Validation Failed: >
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
> WEB-INF/web.xml >
I did not add any XWiki project to the Deployment Assembly. Do i need to add any core project before i can deploy it to the server? Or do i have to add all of them?
Did you "look at the README file instructions" ?
Yes, but i couldn't "create a XWIKIPLATFORM shared resource".
I see it being used as a variable in the .project's linkedResources, but couldn't figure out where to set it.
PS: Tried posting this to the devs list but was denied. Is this the right place?
It's ok here but there is not special right on dev mailing list so I don't see why it did not work for you.
Thanks in advance, Fernando _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Mon, May 30, 2011 at 03:03, Baratóvsk <[email protected]> wrote:
It's running fine now!
I modified two things before it started working: 1. The path to my xwiki-platform folder had an empty space. I renamed the folder to remove the empty space. I had some problems with an Eclipse-base IDE at work because of paths containing spaces.
Would be great if you could add this to http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoo...
2. I moved the path variable to workspace-level.
I spent some time trying to make the Colibri's top menu (the one with the green Add button) to appear.
It wasn't working because the xwiki.defaultbaseskin property in the xwiki.cfg was still referencing the albatross skin. I replaced the entire xwiki.cfg with the latest milestone release and now it's working without a problem.
Yea I don't do that often enough sorry, will do right now.
On Fri, May 27, 2011 at 4:53 PM, Baratóvsk <[email protected]> wrote:
On Fri, May 27, 2011 at 4:10 AM, Thomas Mortagne < [email protected]> wrote:
On Fri, May 27, 2011 at 04:52, Baratóvsk <[email protected]> wrote:
One last question...
When i startet the application i got a ClassNotFoundException for org.xwiki.container.servlet.XWikiServletContextListener. I imported the corresponding maven project and added it to the Deployment Assembly. Then, another class was missing...
Do i need to import all the projects and link them? Or should they be handled by maven?
That happen sometime I don't know why, you should try to clean your server. See http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoo... for more details.
Sorry, forgot to mention that cleaning the project didn't work for me.
I asked if i need to import them all because of the second possibility:
"you forgot to add your opened jar project to the deployment assembly, see Link Jar project to the web project<http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_ImportJarProjects#HLinkJarprojecttothewebproject> "
I'll try to fix it tonight. Thanks for updating the tutorial.
>
Thanks again
On Thu, May 26, 2011 at 10:37 PM, Baratóvsk <[email protected]> wrote:
Hello Thomas,
I had already checked the README.txt. It took some time until i figured out what a "shared resource" is, but i eventually saw the linked resources with a missing path variable...
For anyone who didn't see it, you can create the XWIKIPLATFORM path variable by right-clicking any folder with a little red exclamation mark > Properties > Edit... (in front of Location) > Variable... > New.
The CHKJ3000E was something with my workspace. I created a new one, imported the project, validated it, and the error was gone.
Thanks, Fernando
On Wed, May 25, 2011 at 4:51 AM, Thomas Mortagne < [email protected]> wrote:
On Wed, May 25, 2011 at 03:37, Baratóvsk <[email protected]> wrote: > Hi there, > > I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6. > > I've managed to fork and clone the sources from GitHub. > I can build and install them to my local Maven repository without a problem. > > Now i'm trying to debug it on Eclipse, following this guide: > http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse > > I imported the xwiki-debug-eclipse as a Java Project. > There is a validation error: > >> CHKJ3000E: WAR Validation Failed: >>
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
>> WEB-INF/web.xml >> > > I did not add any XWiki project to the Deployment Assembly. > Do i need to add any core project before i can deploy it to the server? Or > do i have to add all of them?
Did you "look at the README file instructions" ?
Yes, but i couldn't "create a XWIKIPLATFORM shared resource".
I see it being used as a variable in the .project's linkedResources, but couldn't figure out where to set it.
> PS: Tried posting this to the devs list but was denied. Is this the right > place?
It's ok here but there is not special right on dev mailing list so I don't see why it did not work for you.
> > Thanks in advance, > Fernando > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users >
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I'll update the document. How do i create an account at dev.xwiki.org? Thanks On Mon, May 30, 2011 at 4:09 AM, Thomas Mortagne <[email protected]>wrote:
On Mon, May 30, 2011 at 03:03, Baratóvsk <[email protected]> wrote:
It's running fine now!
I modified two things before it started working: 1. The path to my xwiki-platform folder had an empty space. I renamed the folder to remove the empty space. I had some problems with an Eclipse-base IDE at work because of paths containing spaces.
Would be great if you could add this to
http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoo...
2. I moved the path variable to workspace-level.
I spent some time trying to make the Colibri's top menu (the one with the green Add button) to appear.
It wasn't working because the xwiki.defaultbaseskin property in the xwiki.cfg was still referencing the albatross skin. I replaced the entire xwiki.cfg with the latest milestone release and now it's working without a problem.
Yea I don't do that often enough sorry, will do right now.
On Fri, May 27, 2011 at 4:53 PM, Baratóvsk <[email protected]> wrote:
On Fri, May 27, 2011 at 4:10 AM, Thomas Mortagne < [email protected]> wrote:
On Fri, May 27, 2011 at 04:52, Baratóvsk <[email protected]> wrote:
One last question...
When i startet the application i got a ClassNotFoundException for org.xwiki.container.servlet.XWikiServletContextListener. I imported the corresponding maven project and added it to the Deployment Assembly. Then, another class was missing...
Do i need to import all the projects and link them? Or should they be handled by maven?
That happen sometime I don't know why, you should try to clean your server. See
http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoo...
for more details.
Sorry, forgot to mention that cleaning the project didn't work for me.
I asked if i need to import them all because of the second possibility:
"you forgot to add your opened jar project to the deployment assembly, see Link Jar project to the web project< http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_ImportJarPr...
"
I'll try to fix it tonight. Thanks for updating the tutorial.
Thanks again
On Thu, May 26, 2011 at 10:37 PM, Baratóvsk <[email protected]>
wrote:
Hello Thomas,
I had already checked the README.txt. It took some time until i figured out what a "shared resource" is,
but i
eventually saw the linked resources with a missing path variable...
For anyone who didn't see it, you can create the XWIKIPLATFORM path variable by right-clicking any folder with a little red exclamation mark > Properties > Edit... (in front of Location) > Variable... > New.
The CHKJ3000E was something with my workspace. I created a new one, imported the project, validated it, and the error was gone.
Thanks, Fernando
On Wed, May 25, 2011 at 4:51 AM, Thomas Mortagne < [email protected]> wrote:
> On Wed, May 25, 2011 at 03:37, Baratóvsk <[email protected]> wrote: > > Hi there, > > > > I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6. > > > > I've managed to fork and clone the sources from GitHub. > > I can build and install them to my local Maven repository without a > problem. > > > > Now i'm trying to debug it on Eclipse, following this guide: > > http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse > > > > I imported the xwiki-debug-eclipse as a Java Project. > > There is a validation error: > > > >> CHKJ3000E: WAR Validation Failed: > >> >
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
> >> WEB-INF/web.xml > >> > > > > I did not add any XWiki project to the Deployment Assembly. > > Do i need to add any core project before i can deploy it to the server? > Or > > do i have to add all of them? > > Did you "look at the README file instructions" ? >
Yes, but i couldn't "create a XWIKIPLATFORM shared resource".
I see it being used as a variable in the .project's linkedResources, but couldn't figure out where to set it.
> > > PS: Tried posting this to the devs list but was denied. Is this the > right > > place? > > It's ok here but there is not special right on dev mailing list so I > don't see why it did not work for you. > > > > > Thanks in advance, > > Fernando > > _______________________________________________ > > users mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > -- > Thomas Mortagne > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users >
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Mon, May 30, 2011 at 14:11, Baratóvsk <[email protected]> wrote:
I'll update the document.
How do i create an account at dev.xwiki.org?
You actually create it on ww.xwiki.org for the whole wiki farm.
Thanks
On Mon, May 30, 2011 at 4:09 AM, Thomas Mortagne <[email protected]>wrote:
On Mon, May 30, 2011 at 03:03, Baratóvsk <[email protected]> wrote:
It's running fine now!
I modified two things before it started working: 1. The path to my xwiki-platform folder had an empty space. I renamed the folder to remove the empty space. I had some problems with an Eclipse-base IDE at work because of paths containing spaces.
Would be great if you could add this to
http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoo...
2. I moved the path variable to workspace-level.
I spent some time trying to make the Colibri's top menu (the one with the green Add button) to appear.
It wasn't working because the xwiki.defaultbaseskin property in the xwiki.cfg was still referencing the albatross skin. I replaced the entire xwiki.cfg with the latest milestone release and now it's working without a problem.
Yea I don't do that often enough sorry, will do right now.
On Fri, May 27, 2011 at 4:53 PM, Baratóvsk <[email protected]> wrote:
On Fri, May 27, 2011 at 4:10 AM, Thomas Mortagne < [email protected]> wrote:
On Fri, May 27, 2011 at 04:52, Baratóvsk <[email protected]> wrote:
One last question...
When i startet the application i got a ClassNotFoundException for org.xwiki.container.servlet.XWikiServletContextListener. I imported the corresponding maven project and added it to the Deployment Assembly. Then, another class was missing...
Do i need to import all the projects and link them? Or should they be handled by maven?
That happen sometime I don't know why, you should try to clean your server. See
http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoo...
for more details.
Sorry, forgot to mention that cleaning the project didn't work for me.
I asked if i need to import them all because of the second possibility:
"you forgot to add your opened jar project to the deployment assembly, see Link Jar project to the web project< http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_ImportJarPr...
"
I'll try to fix it tonight. Thanks for updating the tutorial.
>
Thanks again
On Thu, May 26, 2011 at 10:37 PM, Baratóvsk <[email protected]> wrote:
> Hello Thomas, > > I had already checked the README.txt. > It took some time until i figured out what a "shared resource" is, but i > eventually saw the linked resources with a missing path variable... > > For anyone who didn't see it, you can create the XWIKIPLATFORM path > variable by right-clicking any folder with a little red exclamation mark > > Properties > Edit... (in front of Location) > Variable... > New. > > The CHKJ3000E was something with my workspace. > I created a new one, imported the project, validated it, and the error was > gone. > > Thanks, > Fernando > > On Wed, May 25, 2011 at 4:51 AM, Thomas Mortagne < > [email protected]> wrote: > >> On Wed, May 25, 2011 at 03:37, Baratóvsk <[email protected]> wrote: >> > Hi there, >> > >> > I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6. >> > >> > I've managed to fork and clone the sources from GitHub. >> > I can build and install them to my local Maven repository without a >> problem. >> > >> > Now i'm trying to debug it on Eclipse, following this guide: >> > http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse >> > >> > I imported the xwiki-debug-eclipse as a Java Project. >> > There is a validation error: >> > >> >> CHKJ3000E: WAR Validation Failed: >> >> >>
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
>> >> WEB-INF/web.xml >> >> >> > >> > I did not add any XWiki project to the Deployment Assembly. >> > Do i need to add any core project before i can deploy it to the server? >> Or >> > do i have to add all of them? >> >> Did you "look at the README file instructions" ? >> > > Yes, but i couldn't "create a XWIKIPLATFORM shared resource". > > I see it being used as a variable in the .project's linkedResources, but > couldn't figure out where to set it. > > > > > >> > PS: Tried posting this to the devs list but was denied. Is this the >> right >> > place? >> >> It's ok here but there is not special right on dev mailing list so I >> don't see why it did not work for you. >> >> > >> > Thanks in advance, >> > Fernando >> > _______________________________________________ >> > users mailing list >> > [email protected] >> > http://lists.xwiki.org/mailman/listinfo/users >> > >> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On Mon, May 30, 2011 at 14:17, Thomas Mortagne <[email protected]> wrote:
On Mon, May 30, 2011 at 14:11, Baratóvsk <[email protected]> wrote:
I'll update the document.
How do i create an account at dev.xwiki.org?
You actually create it on ww.xwiki.org for the whole wiki farm.
www.xwiki.org
Thanks
On Mon, May 30, 2011 at 4:09 AM, Thomas Mortagne <[email protected]>wrote:
On Mon, May 30, 2011 at 03:03, Baratóvsk <[email protected]> wrote:
It's running fine now!
I modified two things before it started working: 1. The path to my xwiki-platform folder had an empty space. I renamed the folder to remove the empty space. I had some problems with an Eclipse-base IDE at work because of paths containing spaces.
Would be great if you could add this to
http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoo...
2. I moved the path variable to workspace-level.
I spent some time trying to make the Colibri's top menu (the one with the green Add button) to appear.
It wasn't working because the xwiki.defaultbaseskin property in the xwiki.cfg was still referencing the albatross skin. I replaced the entire xwiki.cfg with the latest milestone release and now it's working without a problem.
Yea I don't do that often enough sorry, will do right now.
On Fri, May 27, 2011 at 4:53 PM, Baratóvsk <[email protected]> wrote:
On Fri, May 27, 2011 at 4:10 AM, Thomas Mortagne < [email protected]> wrote:
On Fri, May 27, 2011 at 04:52, Baratóvsk <[email protected]> wrote: > One last question... > > When i startet the application i got a ClassNotFoundException for > org.xwiki.container.servlet.XWikiServletContextListener. > I imported the corresponding maven project and added it to the Deployment > Assembly. > Then, another class was missing... > > Do i need to import all the projects and link them? Or should they be > handled by maven?
That happen sometime I don't know why, you should try to clean your server. See
http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_Troubleshoo...
for more details.
Sorry, forgot to mention that cleaning the project didn't work for me.
I asked if i need to import them all because of the second possibility:
"you forgot to add your opened jar project to the deployment assembly, see Link Jar project to the web project< http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse_ImportJarPr...
"
I'll try to fix it tonight. Thanks for updating the tutorial.
>
> Thanks again > > On Thu, May 26, 2011 at 10:37 PM, Baratóvsk <[email protected]> wrote: > >> Hello Thomas, >> >> I had already checked the README.txt. >> It took some time until i figured out what a "shared resource" is, but i >> eventually saw the linked resources with a missing path variable... >> >> For anyone who didn't see it, you can create the XWIKIPLATFORM path >> variable by right-clicking any folder with a little red exclamation mark > >> Properties > Edit... (in front of Location) > Variable... > New. >> >> The CHKJ3000E was something with my workspace. >> I created a new one, imported the project, validated it, and the error was >> gone. >> >> Thanks, >> Fernando >> >> On Wed, May 25, 2011 at 4:51 AM, Thomas Mortagne < >> [email protected]> wrote: >> >>> On Wed, May 25, 2011 at 03:37, Baratóvsk <[email protected]> wrote: >>> > Hi there, >>> > >>> > I'm trying to debug XWiki Enterprise on Eclipse, using WTP and Tomcat 6. >>> > >>> > I've managed to fork and clone the sources from GitHub. >>> > I can build and install them to my local Maven repository without a >>> problem. >>> > >>> > Now i'm trying to debug it on Eclipse, following this guide: >>> > http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse >>> > >>> > I imported the xwiki-debug-eclipse as a Java Project. >>> > There is a validation error: >>> > >>> >> CHKJ3000E: WAR Validation Failed: >>> >> >>>
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException:
>>> >> WEB-INF/web.xml >>> >> >>> > >>> > I did not add any XWiki project to the Deployment Assembly. >>> > Do i need to add any core project before i can deploy it to the server? >>> Or >>> > do i have to add all of them? >>> >>> Did you "look at the README file instructions" ? >>> >> >> Yes, but i couldn't "create a XWIKIPLATFORM shared resource". >> >> I see it being used as a variable in the .project's linkedResources, but >> couldn't figure out where to set it. >> >> >> >> > >>> > PS: Tried posting this to the devs list but was denied. Is this the >>> right >>> > place? >>> >>> It's ok here but there is not special right on dev mailing list so I >>> don't see why it did not work for you. >>> >>> > >>> > Thanks in advance, >>> > Fernando >>> > _______________________________________________ >>> > users mailing list >>> > [email protected] >>> > http://lists.xwiki.org/mailman/listinfo/users >>> > >>> >>> >>> >>> -- >>> Thomas Mortagne >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/users >>> >> >> > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users >
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
participants (2)
-
Baratóvsk -
Thomas Mortagne