Maybe the part you miss is that you usually don't deploy a WAR, you
expand the WAR and can then replace any file you want in the resulting
folder.

On Sat, Aug 27, 2016 at 3:03 PM, Vincent Massol <[email protected]> wrote:
>
>> On 27 Aug 2016, at 14:43, 既然 M.A.R.S <[email protected]> wrote:
>>
>> but how do you build the source to a war file?
>> Alright,  I ask this in another way......................How to debug a 
>> source file  using eclipse.Such as i modified a java file,and i want to see 
>> what happened immediately……………………….
>
> * You modify the file in Eclipse
> * You build that module only with Maven on the command line
> * You deploy that JAR into WEB-INF/lib or as an extension in your XWiki 
> instance
>
> -Vincent
>
>> ------------------ 原始邮件 ------------------
>> 发件人: "Thomas Mortagne";<[email protected]>;
>> 发送时间: 2016年8月27日(星期六) 晚上8:30
>> 收件人: "XWiki Developers"<[email protected]>;
>>
>> 主题: Re: [xwiki-devs] [Problem]XWiki-8.2.2 How to build xwiki from allsource 
>> to a war file and publish it to a server
>>
>>
>>
>> As I already told you, you should really really use Maven and not
>> Eclipse to build XWiki for deployment purpose. Just use Eclipse to
>> work on the sources. If you really really need to build EVERYTHING
>> from source (which is useless for anything else than releases IMO) use
>> Maven, doing it with Eclipse is just a pain. Build some jar project
>> you are working on sure but everything...
>>
>> On Sat, Aug 27, 2016 at 12:31 PM, 既然 M.A.R.S <[email protected]> wrote:
>>> I am a new XWiki developer and found XWiki just a few days ago. I 
>>> downloaded the installer for windows,installed it in my computer and then 
>>> start the XWiki using the start icon.After i try the demo, i think XWiki is 
>>> awesome, So i want to learn and develop it .I want to know how the XWiki 
>>> works, and i want to build the all source code myself and publish it to a 
>>> server just like the same result as the installer.So, i referred the 
>>> document from the site,followed the instruction step by step.Step ONE,I 
>>> configured the JDK,Maven,Repository.Step TWO,I downloaded all the souce 
>>> code,including common,platform,tools,enterprise.Step THREE, I unzip the 
>>> archive and import them as maven project.The problem occurred in Step 
>>> THREE, there are some files missing in some 
>>> project(xwiki-platform-query-jpql-parser-8.2.2 ,etc),i searched the whole 
>>> repository and found no result.Import everything is not recommended,but i 
>>> want try to completely build xwiki myself,if not import enough source 
>>> code,how could to
>>> build and  generate a complete war file and publish to server?
>>> _______________________________________________
>>> devs mailing list
>>> [email protected]
>>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>>
>>
>> --
>> Thomas Mortagne
>> _______________________________________________
>> devs mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/devs
>> _______________________________________________
>> devs mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/devs
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to