4.1.7 Jungle Fles

My jungle files does not work with 4.1.7 this is the way it works on 4.1.5 

source folder contains all source files (3) except the the one is different form other devices

resources folder contains every resource form all devices

source-fenix5 contains the the view file is different from other devices

source-fr920xt contains the the view file is different from other devices

and does not work


project.manifest = manifest.xml
srcBase=source
resBase=resources

base.sourcePath = $(srcBase);source-fenix5
base.resourcePath = $(resBase)

base.excludeAnnotations = source-fr920xt

fr920xt.sourcePath = $(srcBase);source-fr920xt
fr920xt.excludeAnnotations = source
fr920xt.resourcePath = $(resBase);resources-fr920xt


on try to make a folder for each device containing all files for each device and again works on 4.1.5 but not on 4.1.7 

source folder contains all source files (4) for Fenix5

resources folder contains every resource form all devices

source-fenix5 is deleted

source-fr920xt contains all source files (4) for fr920xt

and does not work, what I´m doing wrong??

the error it give me is I have is this

BUILD: ERROR: fr920xt: /Users/lcda/eclipse-workspace/PowerBikeField/PowerBikeField-master/PowerBikeField/source-fr920xt/PowerBikeFieldApp.mc:11: Redefinition of '$.PowerBikeFieldApp'. Previous definition at /Users/lcda/eclipse-workspace/PowerBikeField/PowerBikeField-master/PowerBikeField/source/PowerBikeFieldApp.mc:11.



project.manifest = manifest.xml
srcBase=source
resBase=resources

base.sourcePath = $(srcBase)
base.resourcePath = $(resBase)

base.excludeAnnotations = source-fr920xt

fr920xt.sourcePath = source-fr920xt
fr920xt.excludeAnnotations = source
fr920xt.resourcePath = $(resBase);resources-fr920xt

  • no it has the same error and the error is on this string 11 too when I call userProfile

            var profile = UserProfile.getProfile();
            if (profile != null) {
    	 		uHrZones = UserProfile.getHeartRateZones(UserProfile.getCurrentSport());	
    	 	} else {
    	 		uHrZones = [ 90, 115, 130, 160, 175, 190 ];
        	}
        	
        	
    			if (hr >= uHrZones[4]) {
    				color = Gfx.COLOR_RED;
    			} else if (hr >= uHrZones[3]) {
    				color = Gfx.COLOR_YELLOW;
    			}