Hello All,
I want to have javascript console in my Admin tools for my Alfresco SDK 4.1 project. I'm following all the steps as defined in below links.
https://github.com/Alfresco/alfresco-sdk/blob/master/docs/advanced-topics/amps.md
I've added amp files to extensions folder in platfrom and share project. Then, added line in Dockerfile. Also, I've added dependencies in pom as well.
However, I'm getting below errors. Can anyone please help me here?
Step 5/8 : RUN java -jar $TOMCAT_DIR/alfresco-mmt/alfresco-mmt*.jar install $TOMCAT_DIR/amps_share $TOMCAT_DIR/webapps/share -directory -nobackup -force
---> Running in 6afd2d28c38d
java.io.FileNotFoundException: /usr/local/tomcat/amps_share/javascript-console-share-0.6.amp/module.properties
at de.schlichtherle.truezip.file.TFileInputStream.newInputStream(TFileInputStream.java:108)
at de.schlichtherle.truezip.file.TFileInputStream.<init>(TFileInputStream.java:81)
at org.alfresco.repo.module.tool.ModuleDetailsHelper.createModuleDetailsFromPropertyLocation(ModuleDetailsHelper.java:105)
at org.alfresco.repo.module.tool.ModuleManagementTool.installModule(ModuleManagementTool.java:229)
at org.alfresco.repo.module.tool.ModuleManagementTool.installModules(ModuleManagementTool.java:172)
at org.alfresco.repo.module.tool.ModuleManagementTool.installModules(ModuleManagementTool.java:155)
at org.alfresco.repo.module.tool.ModuleManagementTool.main(ModuleManagementTool.java:837)
Caused by: java.util.zip.ZipException: ZIP file spanning/splitting is not supported!
Try adding the dependencies to *-platform-docker and *-share-docker project's pom files. You dont have to manually install amps.
<youProject>-platform-docker
<dependency> <groupId>de.fmaul</groupId> <artifactId>javascript-console-repo</artifactId> <type>amp</type> <version>0.6</version> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency>
<youProject>-share-docker
<dependency> <groupId>de.fmaul</groupId> <artifactId>javascript-console-share</artifactId> <type>amp</type> <version>0.6</version> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency>
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.