felixon / alfresco-java-backed-webscripts-demo Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/alfresco-java-backed-webscripts-demo
License: Apache License 2.0
Automatically exported from code.google.com/p/alfresco-java-backed-webscripts-demo
License: Apache License 2.0
What steps will reproduce the problem?
1. Install and run Alfresco 4.2
2. Download and install demojavawebscripts-1.1.amp
3. Got to http://localhost:8080/alfresco/service/index
What is the expected output? What do you see instead?
Expected to see "Alfresco Java-Backed WebScripts Demo" listed in list of web
script families, instead it does not appear listed.
What version of the product are you using? On what operating system?
Alfresco 4.2 on Mac OS X 10.7.5
Please provide any additional information below.
---
tbedford@c02g51gjdrjn:/Applications/alfresco-4.2.0/bin$ java -jar
alfresco-mmt.jar install ../amps/demojavawebscripts-1.1.amp
../tomcat/webapps/alfresco.war -force
- WARNING: The file '/WEB-INF/classes/log4j.properties' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/94236e24-71e7-11e2-8008-6137c561c87d.bin'
tbedford@c02g51gjdrjn:/Applications/alfresco-4.2.0/bin$
---
tbedford@c02g51gjdrjn:/Applications/alfresco-4.2.0/bin$ java -jar
alfresco-mmt.jar install ../amps/demojavawebscripts-1.1.amp
../tomcat/webapps/alfresco.war -preview
Installing AMP '../amps/demojavawebscripts-1.1.amp' into WAR
'../tomcat/webapps/alfresco.war'
Adding files relating to version '1.1.1' of module
'org.alfresco.demojavawebscripts'
- File '/WEB-INF/lib/demojavawebscripts-1.1.jar' added to war from amp
- File '/WEB-INF/lib/h2-1.3.158.jar' added to war from amp
- File '/WEB-INF/lib/h2-support-1.2.jar' added to war from amp
- File '/WEB-INF/classes/alfresco/extension/model/demoscriptsModel.xml' added to war from amp
- Directory '/WEB-INF/classes/alfresco/extension/model' added to war
- File '/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco/demo/declarative.get.desc.xml' added to war from amp
- File '/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco/demo/declarative.get.html.ftl' added to war from amp
- File '/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco/demo/declarative.get.json.ftl' added to war from amp
- File '/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco/demo/declarative.get.xml.ftl' added to war from amp
- File '/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco/demo/random.get.desc.xml' added to war from amp
- File '/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco/demo/rendition.get.desc.xml' added to war from amp
- File '/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco/demo/simple.get.desc.xml' added to war from amp
- Directory '/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco/demo' added to war
- Directory '/WEB-INF/classes/alfresco/extension/templates/webscripts/org/alfresco' added to war
- Directory '/WEB-INF/classes/alfresco/extension/templates/webscripts/org' added to war
- Directory '/WEB-INF/classes/alfresco/extension/templates/webscripts' added to war
- Directory '/WEB-INF/classes/alfresco/extension/templates' added to war
- File '/WEB-INF/classes/alfresco/extension/custom-model-context.xml' added to war from amp
- File '/WEB-INF/classes/alfresco/extension/custom-model.xml' added to war from amp
- File '/WEB-INF/classes/alfresco/extension/custom-repository-context.xml' added to war from amp
- File '/WEB-INF/classes/alfresco/extension/custom-webscripts-context.xml' added to war from amp
- File '/WEB-INF/classes/alfresco/extension/file-servers-custom.xml' added to war from amp
- Directory '/WEB-INF/classes/alfresco/extension' added to war
- File '/WEB-INF/classes/alfresco/module/org.alfresco.demojavawebscripts/context/service-context.xml' added to war from amp
- Directory '/WEB-INF/classes/alfresco/module/org.alfresco.demojavawebscripts/context' added to war
- File '/WEB-INF/classes/alfresco/module/org.alfresco.demojavawebscripts/log4j.properties' added to war from amp
- File '/WEB-INF/classes/alfresco/module/org.alfresco.demojavawebscripts/module-context.xml' added to war from amp
- Directory '/WEB-INF/classes/alfresco/module/org.alfresco.demojavawebscripts' added to war
01080000 ERROR: The amp will overwrite an existing file in the war
'/WEB-INF/classes/log4j.properties'. Execution halted. By specifying -force ,
you can force installation of AMP regardless of the current war state.
tbedford@c02g51gjdrjn:/Applications/alfresco-4.2.0/bin$
Original issue reported on code.google.com by [email protected]
on 11 Feb 2013 at 8:47
Hi,
I am looking for archetype for full Alfresco project lifecycle above demo.
If possible the please let me know.
Thanks,
Jamil
Original issue reported on code.google.com by [email protected]
on 6 May 2013 at 1:24
What steps will reproduce the problem?
1. Checkout
http://alfresco-java-backed-webscripts-demo.googlecode.com/svn/trunk@10
2. Run mvn clean
What is the expected output? What do you see instead?
I expect to see a successful build. However, I see the following error message:
[ERROR] The project org.alfresco:demojavawebscripts:1.0
(/home/aball/git/alfresco-java-backed-webscripts-demo.git/pom.xml) has 2 errors
[ERROR] Unresolveable build extension: Plugin
org.alfresco.maven.plugin:maven-amp-plugin:3.0.3-SNAPSHOT or one of its
dependencies could not be resolved: Could not find artifact
org.alfresco.maven.plugin:maven-amp-plugin:jar:3.0.3-SNAPSHOT in
alfresco-public (http://maven.alfresco.com/nexus/content/groups/public) ->
[Help 2]
What version of the product are you using? On what operating system?
http://alfresco-java-backed-webscripts-demo.googlecode.com/svn/trunk@10 on
Ubuntu Linux 11.10
Please provide any additional information below.
I found a few solutions to this problem:
(1) Replace the alfresco-public-snapshots repository URL of
http://repository.sourcesense.com/nexus/content/groups/public-snapshots with
http://maven.alfresco.com/nexus/content/repositories/snapshots
(replace_repo_url.diff)
(2)Change the version for the dependency to 3.0.4
(replace_repo_url_and_use_version_3.0.4.diff)
It seems like using version 3.0.4 and changing the repository URL would both be
a good idea.
Original issue reported on code.google.com by [email protected]
on 10 May 2012 at 9:25
Attachments:
When running
mvn clean package
I first get
[WARNING] The POM for
org.alfresco.maven.plugin:maven-amp-plugin:jar:3.0.1-SNAPSHOT is missing, no
dependency information available
...
[ERROR] Unresolveable build extension: Plugin
org.alfresco.maven.plugin:maven-amp-plugin:3.0.1-SNAPSHOT or one of its
dependencies could not be resolved: Failure to find
org.alfresco.maven.plugin:maven-amp-plugin:jar:3.0.1-SNAPSHOT in
http://maven.alfresco.com/nexus/content/groups/public was cached in the local
repository, resolution will not be reattempted until the update interval of
alfresco-public has elapsed or updates are forced -> [Help 2]
Changing
<version>3.0.1-SNAPSHOT</version>
to
<version>3.0.3-SNAPSHOT</version>
solves this issue.
The second issue:
[INFO] ------------------------------------------------------------------------
[INFO] Building Alfresco Java-Backed WebScripts Samples 1.0
[INFO] ------------------------------------------------------------------------
...
[ERROR] Plugin com.sourcesense.maven:maven-nosnapshot-plugin:0.0.5-SNAPSHOT or
one of its dependencies could not be resolved: Failed to read artifact
descriptor for
com.sourcesense.maven:maven-nosnapshot-plugin:jar:0.0.5-SNAPSHOT: Failure to
find org.alfresco:maven-alfresco-lifecycle:pom:1.0.0-SNAPSHOT in
http://maven.alfresco.com/nexus/content/groups/public was cached in the local
repository, resolution will not be reattempted until the update interval of
alfresco-public has elapsed or updates are forced -> [Help 1]
could be solved by changing
maven-nosnapshot-plugin
from
<version>0.0.5-SNAPSHOT</version>
to
<version>0.0.5</version>
Original issue reported on code.google.com by [email protected]
on 20 Feb 2012 at 1:27
We should add the MoveCategory webscript provided by Jeff Potts in his blog:
http://ecmarchitect.com/archives/2012/03/07/1565
Original issue reported on code.google.com by piergiorgiolucidi
on 15 Feb 2013 at 2:02
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.