cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Installer

subhajit
Champ in-the-making
Champ in-the-making
Hi all,

I want to build and make the installer for alfresco community 3.4.0. I have downloaded BitRock Version: 7.1.0 and tried to build alfresco installer .xml files i.e Project.xml but every time I got the following error,

Executing pre build actions
Checking output directory
README file README.txt does not exist.
Build time: 12 seconds
Build failed!
Built with an evaluation version of InstallBuilder


Please help me out.

Thanks
14 REPLIES 14

subhajit
Champ in-the-making
Champ in-the-making
Still I am not getting any reply. Every time while I am trying to build alfresco installer, getting some error from bitrock. My new error is,

Executing pre build actions
Checking output directory
Prebuild check
Cannot add D:/subhajit/Projects/Alfresco/Source/HEAD/root/installer/bitrock/wcmquickstart/alfresco-community-wcmqs-3.4.b.amp to packed archive. File does not exist
Build time: 13 seconds
Build failed!
Built with an evaluation version of InstallBuilder

Is there any specific steps to follow to build that same with bitrock.

Thanks.

mikeh
Star Contributor
Star Contributor
I don't know much about the installer, but from the error it would seem you have to build the optional modules (e.g. web quickstart).

Thanks,
Mike

subhajit
Champ in-the-making
Champ in-the-making
Thanks for your reply.
Actually alfresco source code bundled with installer. So I think building that with bitrock will work, but always I am getting error. Can anybody please help me. Is there any procedures to follow to build that?

Thanks,
subhajit

mikeh
Star Contributor
Star Contributor
Have you actually built the wcmqs module and copied it to that location?

Mike

subhajit
Champ in-the-making
Champ in-the-making
Thanks for ur reply Mike. I have build only alfresco source code using build-tomcat. What are the steps to build "wcmquickstart"? What is the command?

Thanks

mikeh
Star Contributor
Star Contributor
Use "ant build" instead. Or "ant build-modules" to build all the modules.

Also, "ant -p" lists the important top-level build targets.

Thanks,
Mike

subhajit
Champ in-the-making
Champ in-the-making
Whenever I am trying to build web quick start I am getting compiler error. I am using command "ant compile-wcmquickstart-module". Can you please help me out.

Thanks.

mrogers
Star Contributor
Star Contributor
Not without details of the error… Smiley Sad

subhajit
Champ in-the-making
Champ in-the-making
Error details given below,

clean-wcmquickstart-module:
   [delete] Deleting directory D:\subhajit\Projects\Alfresco\Source\HEAD\root\mo
dules\wcmquickstart\wcmquickstartmodule\build\classes

compile-wcmquickstart-module:
    [mkdir] Created dir: D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\
wcmquickstart\wcmquickstartmodule\build\classes
    [javac] D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart
\utils.xml:23: warning: 'includeantruntime' was not set, defaulting to build.sys
classpath=last; set to false for repeatable builds
    [javac] Compiling 76 source files to D:\subhajit\Projects\Alfresco\Source\HE
AD\root\modules\wcmquickstart\wcmquickstartmodule\build\classes
    [javac] D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart
\wcmquickstartmodule\source\java\org\alfresco\module\org_alfresco_module_wcmquic
kstart\publish\InProcessTransmitterImpl.java:40: cannot find symbol
    [javac] symbol  : class TransferVersion
    [javac] location: package org.alfresco.service.cmr.transfer
    [javac] import org.alfresco.service.cmr.transfer.TransferVersion;
    [javac]                                         ^
    [javac] D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart
\wcmquickstartmodule\source\java\org\alfresco\module\org_alfresco_module_wcmquic
kstart\publish\InProcessTransmitterImpl.java:70: cannot find symbol
    [javac] symbol  : class TransferVersion
    [javac] location: class org.alfresco.module.org_alfresco_module_wcmquickstar
t.publish.InProcessTransmitterImpl
    [javac]     public Transfer begin(final TransferTarget target, final String
fromRepositoryId, final TransferVersion fromVersion) throws TransferException
    [javac]
                        ^
    [javac] D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart
\wcmquickstartmodule\source\java\org\alfresco\module\org_alfresco_module_wcmquic
kstart\publish\InProcessTransmitterImpl.java:49: org.alfresco.module.org_alfresc
o_module_wcmquickstart.publish.InProcessTransmitterImpl is not abstract and does
not override abstract method begin(org.alfresco.service.cmr.transfer.TransferTa
rget) in org.alfresco.repo.transfer.TransferTransmitter
    [javac] public class InProcessTransmitterImpl implements TransferTransmitter

    [javac]        ^
    [javac] D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart
\wcmquickstartmodule\source\java\org\alfresco\module\org_alfresco_module_wcmquic
kstart\publish\InProcessTransmitterImpl.java:79: cannot find symbol
    [javac] symbol  : method getVersion()
    [javac] location: interface org.alfresco.service.cmr.transfer.TransferReceiv
er
    [javac]                         transfer.setToVersion(receiver.getVersion())
;
    [javac]                                                       ^
    [javac] D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart
\wcmquickstartmodule\source\java\org\alfresco\module\org_alfresco_module_wcmquic
kstart\webscript\WebscriptTest.java:147: cannot find symbol
    [javac] symbol  : class Response
    [javac] location: class org.alfresco.module.org_alfresco_module_wcmquickstar
t.webscript.WebscriptTest
    [javac]             Response rsp = sendRequest(new GetRequest(url), 200);
    [javac]             ^
    [javac] D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart
\wcmquickstartmodule\source\java\org\alfresco\module\org_alfresco_module_wcmquic
kstart\webscript\WebscriptTest.java:147: cannot find symbol
    [javac] symbol  : class GetRequest
    [javac] location: class org.alfresco.module.org_alfresco_module_wcmquickstar
t.webscript.WebscriptTest
    [javac]             Response rsp = sendRequest(new GetRequest(url), 200);
    [javac]                                            ^
    [javac] D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart
\wcmquickstartmodule\source\java\org\alfresco\module\org_alfresco_module_wcmquic
kstart\webscript\WebscriptTest.java:170: cannot find symbol
    [javac] symbol  : class Response
    [javac] location: class org.alfresco.module.org_alfresco_module_wcmquickstar
t.webscript.WebscriptTest
    [javac]         Response resp = sendRequest(new GetRequest(url + "&preview=t
rue"), 200);
    [javac]         ^
    [javac] D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart
\wcmquickstartmodule\source\java\org\alfresco\module\org_alfresco_module_wcmquic
kstart\webscript\WebscriptTest.java:170: cannot find symbol
    [javac] symbol  : class GetRequest
    [javac] location: class org.alfresco.module.org_alfresco_module_wcmquickstar
t.webscript.WebscriptTest
    [javac]         Response resp = sendRequest(new GetRequest(url + "&preview=t
rue"), 200);
    [javac]                                         ^
    [javac] D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart
\wcmquickstartmodule\source\java\org\alfresco\module\org_alfresco_module_wcmquic
kstart\webscript\WebscriptTest.java:173: cannot find symbol
    [javac] symbol  : class GetRequest
    [javac] location: class org.alfresco.module.org_alfresco_module_wcmquickstar
t.webscript.WebscriptTest
    [javac]         resp = sendRequest(new GetRequest(url), 200);
    [javac]                                ^
    [javac] 9 errors

BUILD FAILED
D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart\build.xml:6
1: The following error occurred while executing this line:
D:\subhajit\Projects\Alfresco\Source\HEAD\root\modules\wcmquickstart\utils.xml:2
3: Compile failed; see the compiler error output for details.