james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: Backup restore for windows
Date Fri, 05 Aug 2011 15:00:53 GMT
On 05/08/11 16:51, Saibabu Vallurupalli wrote:
> Okay I missed this step. I just did and package is going fine now.
> Last time before branching 3.0-beta2 without doing install I was able to get
> the zip file just by doing mvn package. This is little different now after
> creating branch :-(
>

logic, cause it was not released, so it couldn't find it, except if you 
locally installed it

> Sorry to trouble and thanks a lot of your support.
>

np

> Now, I am going to try my jcr-mailboxmanager copy functionality and let you
> know how it goes.
>

crossing fingers :)

(btw, now you know how to build a custom james server :)

> Thanks, Sai
>
> On Fri, Aug 5, 2011 at 10:37 AM, Eric Charles<eric@apache.org>  wrote:
>
>> Did you run 'mvn install' (-DskipTests=true) from server folder before
>> running 'mvn package' in app folder ?
>>
>>
>>
>> On 05/08/11 16:35, Saibabu Vallurupalli wrote:
>>
>>> Hi Eric,  Robert suggested the same, I tried and got errors and send my
>>> previous email. It has two sections first one is I tried in Tagged version
>>> and the second section is from Branch. I am pasting it below.
>>>
>>> So, I have already checked-out the source from the link below and tried to
>>> build it fails on dependencies.
>>>
>>> **************
>>> INFO] ------------------------------
>>> ------------------------------**------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------**------------------------------**
>>> ------------
>>> [INFO] Total time: 17.875s
>>> [INFO] Finished at: Fri Aug 05 09:12:53 EDT 2011
>>> [INFO] Final Memory: 6M/15M
>>> [INFO]
>>> ------------------------------**------------------------------**
>>> ------------
>>> [ERROR] Failed to execute goal on project apache-james: Could not resolve
>>> dependencies for project org.apache.james:apache-james:**pom:3.0-beta2:
>>> The
>>> following artifacts could not be resolved:
>>> org.apache.james:james-server-**container-spring:jar:3.0-**beta2,
>>> org.apache.james:james-server-**lifecycle-spring:jar:3.0-**beta2,
>>> org.apache.james:james-server-**cli:jar:3.0-beta2,
>>> org.apache.james:james-server-**mailetcontainer-camel:jar:3.0-**beta2,
>>> org.apache.james:james-server-**mailbox-adapter:jar:3.0-beta2,
>>> org.apache.james:james-server-**dnsservice-api:jar:3.0-beta2,
>>> org.apache.james:james-server-**dnsservice-dnsjava:jar:3.0-**beta2,
>>> org.apache.james:james-server-**protocols-library:jar:3.0-**beta2,
>>> org.apache.james:james-server-**util:jar:3.0-beta2,
>>> org.apache.james:james-server-**data-library:jar:3.0-beta2,
>>> org.apache.james:james-server-**ldap:jar:3.0-beta2,
>>> org.apache.james:james-server-**smtpserver:jar:3.0-beta2,
>>> org.apache.james:james-server-**imapserver:jar:3.0-beta2,
>>> org.apache.james:james-server-**lmtpserver:jar:3.0-beta2,
>>> org.apache.james:james-server-**pop3server:jar:3.0-beta2,
>>> org.apache.james:james-server-**fetchmail:jar:3.0-beta2,
>>> org.apache.james:james-server-**queue-jms:jar:3.0-beta2,
>>> org.apache.james:james-server-**queue-activemq:jar:3.0-beta2,
>>> org.apache.james:james-server-**mailets:jar:3.0-beta2,
>>> org.apache.james:james-server-**file:jar:3.0-beta2,
>>> org.apache.james:james-server-**jpa:jar:3.0-beta2,
>>> org.apache.james:james-server-**jdbc:jar:3.0-beta2,
>>> org.apache.james:james-server-**jcr:jar:3.0-beta2: Could not find
>>> artifact
>>> org.apache.james:james-server-**container-spring:jar:3.0-beta2 in
>>> maven2-repository.dev.java.net (http://download.java.net/**maven/2/<http://download.java.net/maven/2/>)
>>> ->   [Help
>>> 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e
>>> switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please
>>> read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/**confluence/display/MAVEN/**
>>> DependencyResolutionException<http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException>
>>>
>>> **************
>>>
>>> Thanks, Sai.
>>>
>>>
>>> On Fri, Aug 5, 2011 at 10:28 AM, Eric Charles<eric@apache.org>   wrote:
>>>
>>>   Hi,
>>>>
>>>> beta2 was kind of tombstone as we aborted the release for license review
>>>> and also to split the packaging into a new app module.
>>>>
>>>> I'm not sure how we get there in the beta2 release process, but the
>>>> assemble plugin in the container-spring module, this is why you don't get
>>>> a
>>>> tar.gz/zip...
>>>>
>>>> Maybe you could checkout https://svn.apache.org/repos/****<https://svn.apache.org/repos/**>
>>>> asf/james/app/branches/3_0_****beta2/<https://svn.apache.org/**
>>>> repos/asf/james/app/branches/**3_0_beta2/<https://svn.apache.org/repos/asf/james/app/branches/3_0_beta2/>>and
>>>> run mvn package there. Hopefully, you will get the tar.gz/zip.  But
>>>>
>>>> don't forget to run mvn install in your local server module, otherwise
>>>> you
>>>> won't get your modifications related to jcr.
>>>>
>>>> Good luck :)
>>>>
>>>>
>>>>
>>>> On 05/08/11 15:29, Saibabu Vallurupalli wrote:
>>>>
>>>>   Hi Robert,
>>>>>
>>>>> I have checked-out entire source from
>>>>> http://svn.apache.org/repos/****asf/james/and<http://svn.apache.org/repos/**asf/james/and>
>>>>> <http://svn.**apache.org/repos/asf/james/and<http://svn.apache.org/repos/asf/james/and>
>>>>> **>this is mapped to my local
>>>>>
>>>>> windows path : C:\work\workspace\james.
>>>>>
>>>>> Earlier I followed the steps below:
>>>>>
>>>>> Step 1: update POM.xml file under:
>>>>> C:\work\workspace\james\****server\tags\james-server-3.0-****
>>>>> beta2\container-spring
>>>>> Step 2: cd to root foler i.e.,
>>>>> C:\work\workspace\james\****server\tags\james-server-3.0-****beta2
>>>>> Step 3:  Did mvn clean package.
>>>>> Step 4: I am not seeing the Distribution zip file under
>>>>> C:\work\workspace\james\****server\tags\james-server-3.0-****
>>>>> beta2\container-spring\target
>>>>>
>>>>> Now, I tried to follow your instructions as below:
>>>>> Step 1: C:\work\workspace\james\app\****branches\3_0_beta2
>>>>> Step 2: mvn clean package>    output.log (output.log just to capture
>>>>> console
>>>>> output to this file).
>>>>> Step 3: I got the errors below:
>>>>>
>>>>> ************
>>>>> INFO]
>>>>> ------------------------------****----------------------------**--**
>>>>> ------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO]
>>>>> ------------------------------****----------------------------**--**
>>>>> ------------
>>>>> [INFO] Total time: 17.875s
>>>>> [INFO] Finished at: Fri Aug 05 09:12:53 EDT 2011
>>>>> [INFO] Final Memory: 6M/15M
>>>>> [INFO]
>>>>> ------------------------------****----------------------------**--**
>>>>> ------------
>>>>> [ERROR] Failed to execute goal on project apache-james: Could not
>>>>> resolve
>>>>> dependencies for project org.apache.james:apache-james:**
>>>>> **pom:3.0-beta2:
>>>>> The
>>>>> following artifacts could not be resolved:
>>>>> org.apache.james:james-server-****container-spring:jar:3.0-****beta2,
>>>>> org.apache.james:james-server-****lifecycle-spring:jar:3.0-****beta2,
>>>>> org.apache.james:james-server-****cli:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****mailetcontainer-camel:jar:3.**
>>>>> 0-**beta2,
>>>>> org.apache.james:james-server-****mailbox-adapter:jar:3.0-**beta2,
>>>>> org.apache.james:james-server-****dnsservice-api:jar:3.0-**beta2,
>>>>> org.apache.james:james-server-****dnsservice-dnsjava:jar:3.0-****beta2,
>>>>> org.apache.james:james-server-****protocols-library:jar:3.0-****beta2,
>>>>> org.apache.james:james-server-****util:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****data-library:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****ldap:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****smtpserver:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****imapserver:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****lmtpserver:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****pop3server:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****fetchmail:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****queue-jms:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****queue-activemq:jar:3.0-**beta2,
>>>>> org.apache.james:james-server-****mailets:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****file:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****jpa:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****jdbc:jar:3.0-beta2,
>>>>> org.apache.james:james-server-****jcr:jar:3.0-beta2: Could not find
>>>>> artifact
>>>>> org.apache.james:james-server-****container-spring:jar:3.0-**beta2 in
>>>>> maven2-repository.dev.java.net (http://download.java.net/****maven/2/<http://download.java.net/**maven/2/>
>>>>> <http://download.java.**net/maven/2/<http://download.java.net/maven/2/>
>>>>>> )
>>>>>
>>>>> ->    [Help
>>>>> 1]
>>>>> [ERROR]
>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
the
>>>>> -e
>>>>> switch.
>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>>> [ERROR]
>>>>> [ERROR] For more information about the errors and possible solutions,
>>>>> please
>>>>> read the following articles:
>>>>> [ERROR] [Help 1]
>>>>> http://cwiki.apache.org/****confluence/display/MAVEN/**<http://cwiki.apache.org/**confluence/display/MAVEN/**>
>>>>> DependencyResolutionException<**http://cwiki.apache.org/**
>>>>> confluence/display/MAVEN/**DependencyResolutionException<http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException>
>>>>>>
>>>>>
>>>>> ************
>>>>>
>>>>> I am sure there is something I missed out of my svn check-out.
>>>>>
>>>>> We can't move to 3.0-btea3 I have already spent time in integrating
>>>>> 3.0-beta2 to our original application. May be we consider 3.0-beta3 or
>>>>> more
>>>>> latest version for our other release scheduled in December.
>>>>>
>>>>> I have to modify POM.xml file to add a dependency in container-spring
>>>>> project and get the latest bundle.
>>>>>
>>>>> Please advise me.
>>>>>
>>>>> Thanks, Sai
>>>>> On Fri, Aug 5, 2011 at 9:03 AM, Robert Burrell Donkin<
>>>>> robertburrelldonkin@gmail.com>    wrote:
>>>>>
>>>>>   On Fri, Aug 5, 2011 at 12:43 PM, Saibabu Vallurupalli
>>>>>
>>>>>> <saibabu.vallurupalli@gmail.****com<saibabu.vallurupalli@**gmail.com<saibabu.vallurupalli@gmail.com>
>>>>>>>>
>>>>>>
>>>>>>   wrote:
>>>>>>
>>>>>>   Hi Eric,
>>>>>>>
>>>>>>> I am pasting last few lines of my build below:
>>>>>>> **********
>>>>>>> [INFO] Apache James Server ActiveMQ Queue ................ SUCCESS
>>>>>>> [1:54.496s]
>>>>>>> [INFO] Apache James Server LDAP Data Implementation ...... SUCCESS
>>>>>>>
>>>>>>>   [10.733s]
>>>>>>
>>>>>>   [INFO] Apache James Server Client ........................ SUCCESS
>>>>>>>
>>>>>>>   [9.597s]
>>>>>>
>>>>>>   [INFO]
>>>>>>> ------------------------------****----------------------------**--**
>>>>>>> ------------
>>>>>>> [INFO] BUILD SUCCESS
>>>>>>> [INFO]
>>>>>>> ------------------------------****----------------------------**--**
>>>>>>> ------------
>>>>>>> [INFO] Total time: 13:13.631s
>>>>>>> [INFO] Finished at: Fri Aug 05 07:30:19 EDT 2011
>>>>>>> [INFO] Final Memory: 40M/133M
>>>>>>> [INFO]
>>>>>>> ------------------------------****----------------------------**--**
>>>>>>> ------------
>>>>>>> C:\work\workspace\james\****server\tags\james-server-3.0-****beta2>
>>>>>>> **********
>>>>>>>
>>>>>>> After this I looked in folder :
>>>>>>>
>>>>>>>   C:\work\workspace\james\****server\tags\james-server-3.0-****
>>>>>>>
>>>>>> beta2\container-spring\target\
>>>>>>
>>>>>>   There are bunch of folders and
>>>>>>>
>>>>>>>   james-server-container-spring-****3.0-beta2.jar
>>>>>>
>>>>>>   file.
>>>>>>>
>>>>>>> I couldn't find the zip after doing mvn clean package from command
>>>>>>>
>>>>>>>   prompt.
>>>>>>
>>>>>> The application is now assembly in a separate project. If you're
>>>>>> building beta-2, you'll need [1]
>>>>>>
>>>>>> but if you can, I recommend going straight for beta-3 since we it'll
>>>>>> ship within a week...
>>>>>>
>>>>>> Robert
>>>>>>
>>>>>> [1] http://svn.apache.org/repos/****asf/james/app/branches/3_0_****
>>>>>> beta2/<http://svn.apache.org/repos/**asf/james/app/branches/3_0_**beta2/>
>>>>>> <http://svn.apache.org/**repos/asf/james/app/branches/**3_0_beta2/<http://svn.apache.org/repos/asf/james/app/branches/3_0_beta2/>
>>>>>>>
>>>>>>
>>>>>> ------------------------------****----------------------------**--**
>>>>>> ---------
>>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.****apache.org<
>>>>>> server-dev-**unsubscribe@james.apache.org<server-dev-unsubscribe@james.apache.org>
>>>>>>>
>>>>>> For additional commands, e-mail: server-dev-help@james.apache.****org<
>>>>>> server-dev-help@james.**apache.org<server-dev-help@james.apache.org>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> --
>>>> Eric Charles
>>>> http://about.echarles.net
>>>>
>>>> ------------------------------****----------------------------**
>>>> --**---------
>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.****apache.org<
>>>> server-dev-**unsubscribe@james.apache.org<server-dev-unsubscribe@james.apache.org>
>>>>>
>>>> For additional commands, e-mail: server-dev-help@james.apache.****org<
>>>> server-dev-help@james.**apache.org<server-dev-help@james.apache.org>>
>>>>
>>>>
>>>>
>>>
>>
>> --
>> Eric Charles
>> http://about.echarles.net
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<server-dev-unsubscribe@james.apache.org>
>> For additional commands, e-mail: server-dev-help@james.apache.**org<server-dev-help@james.apache.org>
>>
>>
>


-- 
Eric Charles
http://about.echarles.net

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message