hsbrenes / mobile-web-development-with-phonegap

Automatically exported from code.google.com/p/mobile-web-development-with-phonegap
0 stars 0 forks source link

Automatically exclude jquery.mobile directory from build and put .js back on jquery.min file #53

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Equivalent to Right click on project -> Properties -> JavaScript -> Include 
Path -> Exclude -> Edit

more a/.settings/.jsdtscope 
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
        <classpathentry excluding="assets/www/jquery.mobile/*|xyzzy" kind="src" path=""/>
        <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
        <classpathentry kind="output" path=""/>
</classpath>

Original issue reported on code.google.com by paul.beu...@gmail.com on 16 Dec 2011 at 10:32

GoogleCodeExporter commented 8 years ago

Original comment by paul.beu...@gmail.com on 2 Feb 2012 at 8:05

GoogleCodeExporter commented 8 years ago
Issue 65 has been merged into this issue.

Original comment by paul.beu...@gmail.com on 2 Feb 2012 at 8:05

GoogleCodeExporter commented 8 years ago
Looks more complicated than I hoped ...

I tried to copy the right files to {project}/.settings/*, but ....

        // Don't try to do JSDT validation on huge, error-prone, slow files like jquery mobile and sencha touch sources
        // Doesn't work. Besides the .jsdtscope file, a directory structure in .metadata needs to be set up
//        try {
//            PhonegapProjectPopulate.bundleCopy("/resources/settingsInit", 
//                    Platform.getLocation().toString() + "/"+ 
mNewAndroidProject.getName() + "/.settings/");
//        } catch (Exception e1) {
//            // TODO - warning that exclusions didn't get set up
//        }

Original comment by paul.beu...@gmail.com on 2 Feb 2012 at 11:39