Questions tagged [profiles]

202 questions
2
votes
1 answer

How to configure gradle to use different log4j.properties files in different environments?

I have 3 profiles local, dev, prod profiles and 3 different log4j.properties files. How to configure gradle to use different properties files? I need something similar to this How to configure maven to use different log4j.properties files in…
Sonka
  • 92
  • 5
2
votes
1 answer

Ad Hoc iOS Distribution Profiles become invalid

When the profiles become invalid, the beta version that was distributed with that profiles in active could be used in normal?
user6218274
2
votes
1 answer

How to declare profile variables and integrate them into JS files? How to exclude/include a function for a build?

Back-end developer is asking about front-end. I've got two functions which are totally different. One of them is for a production, another - for a local development. For example, when I'm in a development mode, the situation is as…
Andrew Tobilko
  • 48,120
  • 14
  • 91
  • 142
2
votes
1 answer

How to build multiple configurations of an artifact (e.g. WAR etc.) with Maven?

due to the modular nature of some of our current applications, we have a need to understand how to setup Maven to produces mutliple configurations of the same artifact (in our case a WAR file), combinations of BOTH deployment level (dev, test,…
Big Rich
  • 5,864
  • 1
  • 40
  • 64
2
votes
2 answers

How to create a profile php code?

I just started with PHP and my SQL databases, I have learned how to create databases, and create register forms that store the information on the databases, but I do not know how to keep people from being able to register with a user name that has…
2
votes
1 answer

How to use Maven Profile Name as a variable

I need to build a war file that can call a JDBC connection depending on it's profile name. When I build with the dev profile, I need it to call the dev.properties file. And when I build with the prod profile, I need it to read from the…
DonSata
  • 57
  • 1
  • 8
2
votes
1 answer

when I install Enterprise app in phone6s with iOS 9.2, but I can't find profiles in General?

when I install Enterprise app in phone6s with iOS 9.2, but I can't find profiles in General? Now I can't open the app! I am confused.
SandDepp
  • 63
  • 8
2
votes
1 answer

profiles in spring batch

I am trying to understand how to use @profiles in spring-batch. I created a java file with two classes in it: @Configuration @Profile("nonlocal") class NonLocalConfiguration { } and @Configuration @Profile("local") class LocalConfiguration { } in…
user3379502
  • 223
  • 4
  • 22
2
votes
2 answers

How do I copy a file into my WAR based on profile?

I’m using Gradle 2.7 on Mac Yosemite. I have the following files: src/main/environment/dev/context.xml src/main/environment/qa/context.xml src/main/environment/prod/context.xml What I would like is if I run a build gradle -Pqa build, the…
Dave
  • 15,639
  • 133
  • 442
  • 830
2
votes
0 answers

Using multiple SSL certificates in Chrome

Can't figure this out on my own. I'm developing web applications where i have to test multiple client certificates that have different roles in Chrome. In Firefox this i easy because i can make different profiles with separate certificates…
Dominus
  • 67
  • 5
2
votes
1 answer

How to create different asp.net User Profiles

Is possible define different profiles a the same time? I have two type of users in my web site and they have different properties. Using asp.net profile is possible to define two or more profiles with distinct properties?
gricceri
  • 21
  • 1
2
votes
2 answers

cucumber js unable to create profiles

Have been searching for a bit and haven't found anything that answered my question. I have a simple Cucumber.js project, was trying to implement profiles just like you can do in ruby under the cucumber.yml file, but can't really find out how to do…
VankOde
  • 23
  • 1
  • 5
2
votes
0 answers

Activate multiple profiles from a profile

I have multiple profiles in maven like this, ` one one two two
Sunil Rk
  • 999
  • 6
  • 12
  • 35
2
votes
1 answer

Maven multi-module multi-profile project with shared resources

I'm trying to have my resources copied into a classpath depending on which profile was selected using maven. My resources folder structure is as following: src/main/resources: config production development staging My current not-working config…
user2902211
  • 185
  • 14
2
votes
1 answer

Maven imported dependencies don't get resolved if used in a profile

We have taken all the dependencies to two separate pom files with dependencyManagement Sections. The requirement is to allow building a module with snapshot dependencies and release with release versions.These two pom files(X and Y) contain all the…