1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    4
    Vote Rating
    0
    simonskloof is on a distinguished road

      0  

    Default Publish fails in Sencha Architect ver 2.1.0 Build 678

    Publish fails in Sencha Architect ver 2.1.0 Build 678


    I have built a simple test app which fails when I try to Publish it

    Settings panel;
    URL Prefix = http://localhost:8888/extjs 4/mobile/
    Publish Path = /Users/mike/Desktop/Extjs4_builds/

    terminal output shows this result;

    /var/folders/rx/8cnpg2hj7415hzdsb1nsl8200000gn/T/temp.sh ; exit;
    mike-mac-pro:~ mike$ /var/folders/rx/8cnpg2hj7415hzdsb1nsl8200000gn/T/temp.sh ; exit;
    rsync -arvuz /Applications/MAMP/htdocs/ExtJS 4/mobile2/tabs2/ /Users/mike/Desktop/Extjs4_builds/ --exclude .svn --exclude .git --exclude .hg --exclude .DS_Store --exclude .cvs --exclude metadata --exclude project 1st.xds project2.xds --exclude .xds --exclude .architect --cvs-exclude
    building file list ... done
    ERROR: destination must be a directory when copying more than 1 file
    rsync error: errors selecting input/output files, dirs (code 3) at /SourceCache/rsync/rsync-42/rsync/main.c(503) [receiver=2.6.9]
    rsync: connection unexpectedly closed (8 bytes received so far) [sender]
    rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-42/rsync/io.c(452) [sender=2.6.9]
    logout


    [Process completed]

    please advise what could be incorrectly set
    thanks
    mike

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,310
    Vote Rating
    112
    ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice

      0  

    Default


    ERROR: destination must be a directory when copying more than 1 file
    /Users/mike/Desktop/Extjs4_builds/ must exists and must be a directory.

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    4
    Vote Rating
    0
    simonskloof is on a distinguished road

      0  

    Default


    Quote Originally Posted by ssamayoa View Post
    /Users/mike/Desktop/Extjs4_builds/ must exists and must be a directory.


    Hi
    I did create the required folder before as can be seen below.
    What else could be causing the failure to build the project ?

    Thanks
    Mike


    Regards.
    directory path.jpg

  4. #4
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,310
    Vote Rating
    112
    ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice

      0  

    Default


    User rights?
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  5. #5
    Sencha User
    Join Date
    Nov 2010
    Posts
    4
    Vote Rating
    0
    simonskloof is on a distinguished road

      0  

    Default


    hi
    as far I can see they are set to read and write.

    user permission.png

  6. #6
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,310
    Vote Rating
    112
    ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice ssamayoa is just really nice

      0  

    Default


    Look at the rsync command:

    rsync -arvuz /Applications/MAMP/htdocs/ExtJS 4/mobile2/tabs2/ /Users/mike/Desktop/Extjs4_builds/

    The second path isn't the web server's publishing path, it seems that is first one.

    Where is stored your project?

    In /Applications/MAMP/htdocs/ExtJS 4/mobile2/tabs2/
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  7. #7
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,928
    Vote Rating
    63
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    rsync [OPTION...] SRC... [DEST]

    After creating folder it gives the same err message?
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

Thread Participants: 2

Tags for this Thread