I am not very comfortable with maven. Can you send me your project.xml with dependencies removed. Also, when u say u use the hotdeploy:tomcat goal, does it mean that you type maven hotdeploy:tomcat in your root folder and you don't need to run any other goal?
I was trying to setup LDAP integration with jahia but I could not understand the LDAP settings well, so I wanted to take a look at the code and understand what I am doing wrong. As of now, mostly I would be putting debug statements and stuff to understand LDAP integration. Later on, I may like to look into other pieces of code.
For LDAP, I checked http://www.jahia.net/jahia/page589.html#3 and followed the steps, but I didn't understand what DN should I use. Can you tell me how to find a valid DN for my LDAP server?
Thanks
Sanjay
On 9/21/06, dominique (joe) pillot <[EMAIL PROTECTED]> wrote:
responses in the body belowLe 21 sept. 06 à 08:35, Sanjay Goel a écrit :Some packages was needed, some should not...maybe ;-)...Thanks Joe, I have been able to compile jahia from source and deploy on my tomcat. I have updated the README file and attached.
There are few questions I would like to ask:
1. On running maven, I get errors in downloading the following jars.
Attempting to download slide-kernel-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [ http://www.day.com/maven/slide/jars/slide-kernel-2.2pre1-SNAPSHOT.jar ]: java.io.IOException: Forbidden.
Attempting to download slide-roles-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [ http://www.day.com/maven/slide/jars/slide-roles-2.2pre1-SNAPSHOT.jar ]: java.io.IOException: Forbidden.
Attempting to download slide-stores-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [ http://www.day.com/maven/slide/jars/slide-stores-2.2pre1-SNAPSHOT.jar ]: java.io.IOExcep
tion: Forbidden.
Attempting to download jakarta-slide-webdavlib-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [ http://www.day.com/maven/slide/jars/jakarta-slide-webdavlib-2.2pre1-SNAPSHOT.jar ]: java
.io.IOException: Forbidden.
Attempting to download slide-webdavservlet-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [ http://www.day.com/maven/slide/jars/slide-webdavservlet-2.2pre1-SNAPSHOT.jar]: java.io.
IOException: Forbidden.
Attempting to download slide-log4jlogger-2.2pre1-SNAPSHOT.jar.
Error retrieving artifact from [ http://www.day.com/maven/slide/jars/slide-log4jlogger-2.2pre1-SNAPSHOT.jar ]: java.io.IOException: Forbidden.
Attempting to download pluto-1.0.1-JAHIA-SNAPSHOT.jar.
Error retrieving artifact from [ http://www.day.com/maven/org.apache.pluto/jars/pluto-1.0.1-JAHIA-SNAPSHOT.jar]: java.io.IOException: Forbidden.
Attempting to download clipBuilder-SNAPSHOT.jar.
Error retrieving artifact from [ http://www.day.com/maven/jahia/jars/clipBuilder-SNAPSHOT.jar]: java.io.IOException: Forbidden.
Attempting to download jmock-SNAPSHOT.jar.
Error retrieving artifact from [ http://www.day.com/maven/jmock/jars/jmock-SNAPSHOT.jar]: java.io.IOException: Forbidden.
This slows down maven a lot. How can I make maven not download these jars at all (looks like they are not needed anyways)Here are some methods to accelerate your usage of mavenThe best probably is to log in maven console and once it is initialized, you can issue all the goals you want more quickly, avoiding the loading phase.You can comment in project.xml the dependency from a particular package also (by this way, you can be pretty sure if it is, or not, needed) and try to rebuild all, or add a maven.repo.remote property in your properties file and list some other jars repositories more friendly than www.day.com.For all these methods and some others, i suggest you to use the maven's documentation2. If I make some changes in jahia src and want to compile it again, what steps do I have to follow? Do I have to do maven xdoclet:hibernatedoclet and maven deploy:tomcat? Also, will I get the jahia configuration screen again once I redeploy it on tomcat? If you can point me to a jahia developer doc which tells about the redeploy steps, it would be great.The answer of the 1st and 2nd questions is fully dependent of what you plan to do, and what part of code you want to change. some work need to regenerate the doclet, some not.And no, if you rebuild some parts of code only and redeploy, the jahia configuration step is not needed in a mandatory way.The most frequent goal we use on a daily base is: hotdeploy:tomcat (to compile modified files and redeploy the classes,jsp and other resources in tomcat file's tree).You can find some developper documentation (some part are seriously outdated) at http:// www.jahia.net/jahia/page585.htmlAs soon we have some time after the final release of 5.0, we plan to update all these...and thanx for the updated readme, sanjayregardsjoe
--
Sanjay Goel
http://sanjaygoel.blogspot.com