share-extras / js-console

Administration Console component for Alfresco Share, that enables the execution of arbitrary JavaScript code against the repository
Other
74 stars 53 forks source link

installable jars not working (at least from SDK3) #82

Open binduwavell opened 6 years ago

binduwavell commented 6 years ago

I just built head with the installable-jar profile. It produces a jar for each of share and the repo as expected. I attempted to load these into an SDK3 project and while some of the UI elements were available like the document lib actions and the admin console "tab". The document lib actions failed to execute (and did not have icons.) The admin console "tab" loaded but the main content area that usually has the js console was empty.

I don't have time to investigate this right now, so just reporting it. If I get some time, I'll come back to this and provide more details/analysis.

binduwavell commented 6 years ago

Maybe I should mention, that I used the exact same technique to add the amp artifacts to my SDK3 project and they worked perfectly.

giuseppeurso-eu commented 6 years ago

@binduwavell The same issue for me... It seems web resources are missing in the final jar. Workaround I just changed the fileset definition in the assembly.xml from: `

${project.basedir}/src/main/web

..... `

to `

${project.basedir}/src/main/amp/web

..... ` I did not any test with the SDK but it works into a runtime environment (I installed the final share jar into tomcat/share/WEB-INF/lib)

fegorama commented 6 years ago

I have same problem, but I don't know how install in my project-repo-jar and project-share-jar...

My projects is in JAR not WAR...