• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to setup profiles in Intellij  RSS feed

 
Peter Benda
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the developer that i replaced has build profiles for deployments.
how can i learn how to build it from zero?
i see it in intellij like this:

 
Liutauras Vilda
Sheriff
Posts: 4928
334
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you are talking about Maven build profiles. These are configured within pom.xml file, i.e.:

 
Peter Benda
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i did that, but when i debug the project i get null value and not the correct value from the profile file :

and in the profile file :


 
Peter Benda
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it not enough to remove the "v" from default to another profile?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!