AnsweredAssumed Answered

simple question about jPotts tutorial

Question asked by himfire on Apr 30, 2012
Latest reply on Apr 30, 2012 by himfire
hello


My question is dummy but I just want to learn how to excute the jpotts second-edition tutorial but there is an error occur to me so I need help . when I have tried to ant the first folder in eclipse that's because the yui.compressor I have installed it but I don't know how to work with it to correct the error . something else is that I have searched for a file named yui.jar but I haven't found this folder (yui 3.5.0.zip)

Buildfile: /home/control/workspace/try/alfresco-workflow-tutorial-share/build.xml
setup:
compress-client-js:
     [echo] Copying the client-side JS to work dir
     [echo] Running the compressor on work dir
    [apply] Error: Unable to access jarfile /Users/jpotts/Software/yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar
    [apply] Result: 1
package-extension:
   [delete] Deleting: /home/control/workspace/try/alfresco-workflow-tutorial-share/build/alfresco-workflow-tutorial-share.zip
      [zip] Building zip: /home/control/workspace/try/alfresco-workflow-tutorial-share/build/alfresco-workflow-tutorial-share.zip
deploy:
    [unzip] Expanding: /home/control/workspace/try/alfresco-workflow-tutorial-share/build/alfresco-workflow-tutorial-share.zip into /opt/apache/tomcat81/apache-tomcat-6.0.32/webapps/share
BUILD SUCCESSFUL
Total time: 1 second

and how can change the directory of the file:alfresco-workflow-tutorial-share-project.zip as it's appeared here


share.webapp.dir=/home/control/alfresco-4.0.d/tomcat/webapps/share
yuicompressor.jar.path=/Users/jpotts/Software/yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar


I need some help on this.

Outcomes