You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by no...@kern.ag on 2009/04/29 11:30:11 UTC

firedocs installation problems

would like install the Firedocs Editor in Lenya 2.0.2 unter Microsoft 
Vista 
and get after a . \ build.bat following error:
prepare modules: 
No module (s) found in the directory [C: \ CONTRIB_HOME \ pubs \ 
defaultfiredocs \ modules] 
BUILD FAILED 
C: \ src \ src \ target \ webapp-build.xml: 174: The following error 
occurred while executing this line: 
C: \ src \ src \ targets \ modules-build.xml: 74: The following error 
occurred while executing this line: 
Target `deploy-module-org.apache.lenya.modules.usecase 'does not exist in 
this project. It is used from target 
`deploy-module-org.apache.lenya.modules.rest '. 
Think that my configuration is wrong here. 
my settings in the local.build.properties: 
I entered them as follows: 
pubs.root.dirs=src/pubs
pubs.root.dirs=../CONTRIB_HOME/pubs
modules.root.dirs=src/modules:src/modules-core:src/pubs/default/modules
modules.root.dirs=../CONTRIB_HOME/modules:../CONTRIB_HOME/pubs/defaultfiredocs/modules
modules.copy=false

If the error caused by wrong settings in the local.build.properties?
 
Many thanks in advance 

Norbert


Re: Antwort: Re: firedocs installation problems

Posted by Andreas Hartmann <an...@apache.org>.
Hi Norbert,

norbert.reinhard@kern.ag schrieb:
> 
> Thanks Andreas for the answers,
> 
> 
> have now adapted my local.build.properties
> 
> pubs.root.dirs=src/pubs:../CONTRIB_HOME/pubs
> modules.root.dirs=src/modules:src/modules-core:src/pubs/default/modules:../CONTRIB_HOME/modules 
> 
> modules.copy=false
> 
> deleted blog module in   lenya_home\src\modules
> 
> then  I have .\ build.bat run
> 
> and getting the below message  
> I overlooked something?
> 
> many thanks in advance
> 
> Norbert
> 
> compile-module-org.apache.lenya.modules.atom:
> Compiling 13 source files to 
> C:\src\build\lenya\modules\org.apache.lenya.modules.atom\java\classes\impl
> C:\CONTRIB_HOME\modules\atom\java\src\org\apache\lenya\modules\atom\AssetsView.java:56: 
> cannot find symbol
> symbol  : method getMimeTypes()
> location: interface org.apache.lenya.cms.publication.ResourceType
>             return resourceType.getMimeTypes();

this method is fairly new – are you sure you have updated your 2.0.x 
branch to the current revision?

-- Andreas


>                                ^
> 1 error
> 
> BUILD FAILED
> C:\src\src\targets\webapp-build.xml:174: The following error occurred 
> while executing this line:
> C:\src\src\targets\modules-build.xml:74: The following error occurred 
> while executing this line:
> C:\src\build\lenya\temp\modules-build.xml:5238: Compile failed; see the 
> compiler error output for details.
> 
> Total time: 43 seconds
> 
> 
> 


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Re: Antwort: Re: firedocs installation problems

Posted by no...@kern.ag.
Thanks Andreas for the answers,


have now adapted my local.build.properties

pubs.root.dirs=src/pubs:../CONTRIB_HOME/pubs
modules.root.dirs=src/modules:src/modules-core:src/pubs/default/modules:../CONTRIB_HOME/modules
modules.copy=false

deleted blog module in   lenya_home\src\modules

then  I have .\ build.bat run

and getting the below message 
I overlooked something?

many thanks in advance

Norbert 

compile-module-org.apache.lenya.modules.atom:
Compiling 13 source files to 
C:\src\build\lenya\modules\org.apache.lenya.modules.atom\java\classes\impl
C:\CONTRIB_HOME\modules\atom\java\src\org\apache\lenya\modules\atom\AssetsView.java:56: 
cannot find symbol
symbol  : method getMimeTypes()
location: interface org.apache.lenya.cms.publication.ResourceType
            return resourceType.getMimeTypes();
                               ^
1 error

BUILD FAILED
C:\src\src\targets\webapp-build.xml:174: The following error occurred 
while executing this line:
C:\src\src\targets\modules-build.xml:74: The following error occurred 
while executing this line:
C:\src\build\lenya\temp\modules-build.xml:5238: Compile failed; see the 
compiler error output for details.

Total time: 43 seconds




Re: Antwort: Re: firedocs installation problems

Posted by Andreas Hartmann <an...@apache.org>.
Hi Norbert,

norbert.reinhard@kern.ag schrieb:
> 
> Thank you Andreas for your response
> 
> if I change the local.build.properties in the following setting:
> 
> pubs.root.dirs=src/pubs:../CONTRIB_HOME/pubs
> modules.root.dirs=src/modules:src/modules-core:src/pubs/default/modules:../CONTRIB_HOME/modules:../CONTRIB_HOME/pubs/defaultfiredocs/modules 
> 
> 
> modules.copy=false
> 
> I get after a .\build.bat following message:
> 
> prepare-modules:
> 
> No module(s) found in directory 
> [C:\CONTRIB_HOME\pubs\defaultfiredocs\modules]

this directory is not necessary anymore, since I have moved the 
defaultstyle module to contributions/2_0_X/modules. Sorry for not 
mentioning it earlier.

[…]

> C:\src\build\lenya\temp\modules-build.xml:5950: Duplicate target 
> 'validate-module-org.apache.lenya.modules.blog'

You probably still have a blog module in $LENYA_HOME/src/modules. It was 
moved to the contributions area, I guess you have to update $LENYA_HOME.

-- Andreas


> 
> Total time: 4 minutes 29 seconds
> 
> C:\src>
> 
> I have download via svn 
> _http://svn.apache.org/repos/asf/lenya/contributions/2_0_X_  in 
> CONTRIB_HOME
> 
> 
> Many thanks in advance
> 
> 
> Norbert
> 


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Antwort: Re: firedocs installation problems

Posted by no...@kern.ag.
Thank you Andreas for your response

if I change the local.build.properties in the following setting:

pubs.root.dirs=src/pubs:../CONTRIB_HOME/pubs
modules.root.dirs=src/modules:src/modules-core:src/pubs/default/modules:../CONTRIB_HOME/modules:../CONTRIB_HOME/pubs/defaultfiredocs/modules

modules.copy=false

I get after a .\build.bat following message: 

prepare-modules:
No module(s) found in directory 
[C:\CONTRIB_HOME\pubs\defaultfiredocs\modules]
Processing C:\src\build\lenya\temp\modules.xml to 
C:\src\build\lenya\temp\modules-config.xml
Loading stylesheet C:\src\src\resources\build\modules2config.xsl
Processing C:\src\build\lenya\temp\modules-config.xml to 
C:\src\build\lenya\temp\modules-build.xml
Loading stylesheet C:\src\src\resources\build\modules2build.xsl
Processing C:\src\build\lenya\temp\modules.xml to 
C:\src\build\lenya\temp\modules.xconf
Loading stylesheet C:\src\src\resources\build\modules2patch.xsl
Processing: C:\src\build\lenya\temp\modules.xconf
Writing: C:\src\build\lenya\webapp\WEB-INF\cocoon.xconf
BUILD FAILED
C:\src\src\targets\webapp-build.xml:174: The following error occurred 
while executing this line:
C:\src\src\targets\modules-build.xml:74: The following error occurred 
while executing this line:
C:\src\build\lenya\temp\modules-build.xml:5950: Duplicate target 
'validate-module-org.apache.lenya.modules.blog'
Total time: 4 minutes 29 seconds
C:\src>
I have download via svn 
http://svn.apache.org/repos/asf/lenya/contributions/2_0_X  in CONTRIB_HOME


Many thanks in advance 

Norbert

Re: firedocs installation problems

Posted by Andreas Hartmann <an...@apache.org>.
Hi Norbert,

norbert.reinhard@kern.ag schrieb:
> 
> would like install the Firedocs Editor in Lenya 2.0.2 unter Microsoft Vista
> and get after a . \ build.bat following error:
> 
> prepare modules:
> No module (s) found in the directory [C: \ CONTRIB_HOME \ pubs \ 
> defaultfiredocs \ modules]
> BUILD FAILED
> C: \ src \ src \ target \ webapp-build.xml: 174: The following error 
> occurred while executing this line:
> C: \ src \ src \ targets \ modules-build.xml: 74: The following error 
> occurred while executing this line:
> Target `deploy-module-org.apache.lenya.modules.usecase 'does not exist 
> in this project. It is used from target 
> `deploy-module-org.apache.lenya.modules.rest '/. /
> 
> Think that my configuration is wrong here.
> my settings in the local.build.properties:
> 
> I entered them as follows:
> 
> pubs.root.dirs=src/pubs
> pubs.root.dirs=../CONTRIB_HOME/pubs

these have to be in one line, separated with a colon:

pubs.root.dirs=src/pubs:../CONTRIB_HOME/pubs

> modules.root.dirs=src/modules:src/modules-core:src/pubs/default/modules
> modules.root.dirs=../CONTRIB_HOME/modules:../CONTRIB_HOME/pubs/defaultfiredocs/modules 

These as well:

modules.root.dirs=src/modules:src/modules-core:src/pubs/default/modules:../CONTRIB_HOME/modules:../CONTRIB_HOME/pubs/defaultfiredocs/modules 



HTH,

-- Andreas

> 
> 
> modules.copy=false
> 
> If the error caused by wrong settings in the local.build.properties?
> 
>  
> Many thanks in advance
> 
> 
> Norbert
> 
> 


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org