Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
binduwavell opened this issue Dec 16, 2017 · 3 comments
Open

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

binduwavell opened this issue Dec 16, 2017 · 3 comments

Comments

@binduwavell
Copy link

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
Copy link
Author

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
Copy link

giuseppeurso-eu commented Feb 9, 2018

@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:
<fileSet> <directory>${project.basedir}/src/main/web</directory> ..... </fileSet>

to
<fileSet> <directory>${project.basedir}/src/main/amp/web</directory> ..... </fileSet>
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
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants