1. #1
    Sencha User
    Join Date
    Jul 2007
    Posts
    67
    Vote Rating
    0
    rekam is on a distinguished road

      0  

    Default About relative/absolute paths...

    About relative/absolute paths...


    Hi all!

    first time I try JsBuilder, I must say it's pretty nice! I just found how to compress in one file a whole hierarchy of folders.

    But now, the problem is that the deploy folder and the two minified js files are generated in the very same folder as the whole hierarchy. I tried to changes some paths, but in fact I don't understand quite well what to put in each paths.

    Here is a sample :
    Code:
    {
        projectName: 'Test',
        deployDir: 'deploy,
        licenseText: 'text'
        pkgs: [{
            name: 'pgk1',
            file: 'classes_doc.js',
            fileIncludes: [{
                text: 'main.js',
                path: 'classes/doc/scripts/'
            }
        }],
        resources: [{    
            src: '/home/dir/project/classes',
            dest: '/home/dir/generated/classes'
            filters: ".*[\\.js]"
        }]
    }
    
    the command line
    $ java -jar JSBuilder2/JSBuilder2.jar --projectFile /home/dir/project/config.jsb2 --homeDir /home/dir/generated/classes
    I thought the resources would move the files from src to dest, but nothing moves at all. So obviously, when creating the packed js file, nothing is found in the "/generated/" folder.

    I think I need some precisions ^^

    Thanks!

  2. #2
    Sencha User
    Join Date
    Jul 2007
    Posts
    67
    Vote Rating
    0
    rekam is on a distinguished road

      0  

    Default


    More precisely :

    in package descriptor
    [file] is a file name + a path. This path is relative to what ? Or absolute ? What if we just put a file name ?

    in file descriptor
    [path] is relative to what? Is it absolute, maybe?

    in resource descriptor
    [src] is the path to the whole hierarchy of files in the project ? It's relative to something ? Or is it absolute ?
    [dest] is the path to the copy of th whole hierarchy of files in the project ? It's relative to something ? Or is it absolute ?

    in command line
    [--homeDir] is an asbolute or relative path ? Does it influence one or more paths listed above ?


    Thanks a lot!

  3. #3
    Sencha User
    Join Date
    Jul 2007
    Posts
    67
    Vote Rating
    0
    rekam is on a distinguished road

      0  

    Default


    Up a little bit, just in case ^^

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."