javascript - Creating a full stack Java WS, Angular.JS, TDD/BDD, maven Eclipse project -
got few issues setting project full java, angular.js, tdd/bdd stack. far these issues aren't blocker, might turn one.
i'm using eclipse 4.6.0 neon wtp, jsdt , angular plugins.
the 2 red flags see waving @ moment are:
in "javascript resources" folder, eclipse showing "ecma 3 browser support library". should ecmascript 5 surely? (if not 6!) since neon came out, it's bit of surprise can't change can change java version instance in project facets dialog.
the html , css files buried in src/main/webapp. shouldn't have 3 clicks them, should easy click java or js files. how come there's no "web resources" match "java resources" , "javascript resources" in project in project explorer view?
like said @ point neither of these /seem/ matter i'd hate waste loads of time on problem in future , find out should have set project differently. i'm quite happy hear impossible , should split technologies out separate projects, 1 web services , 1 js. follow train of thought conclusion, i'm happy hear should ditch eclipse , go command line.
update 2016-08-01 eclipse project went nose-dive, locked never-ending process couldn't stop , couldn't identify after created bower.json project file.
i separate java , js separate projects , take there. there no need keep them except benefit of having 1 deployable artifact not 2, , right doesn't seem such big deal.
answer 2nd item [src/main/webapp requiring 3 clicks drill down (unlike java files)]:
you should able right-click on /webapp/
folder, select "build path"
> "use source folder"
, , displayed @ same level java (src/main/java) folder is, enabling drill 1 click.
here how looks in eclipse's 'package explorer':
Comments
Post a Comment