Questions tagged [profiles]
202 questions
6
votes
1 answer
maven, xml files for different profiles
I have maven pom with 2 profiles: dev and production
I have some xml files in my project. For example persistence.xml . Settings for dev and production environments are different
I need a way to have right files in dev and production…

Victor Mezrin
- 2,797
- 2
- 32
- 48
5
votes
2 answers
Builds for different platforms the Maven way
I have a project with a submodule a:jar which needs a different set of dependencies, depending for which platform it is compiled. The code is the same for all platforms. E.g. on Android the httpcomponents library is already bundled with the OS,…

Stephan
- 7,360
- 37
- 46
5
votes
4 answers
Maven: Using inherited property in dependency classifier causes build failure
Given three POM files:
C depends on B.
B inherits from A.
I can build A and B
C fails to build because of its dependency on B.
The full source-code and build output is included below for your review.
Here is A's POM:

Gili
- 86,244
- 97
- 390
- 689
5
votes
3 answers
Place to store user settings in Sharepoint besides profiles
Is user profiles an appropriate place to store things like number of items per page in a custom grid user selected? (I you can store it in the view, but it won't be per user this way).
My first though was to store these settings in user profiles,…

axk
- 5,316
- 12
- 58
- 96
5
votes
1 answer
Jetty spring profile programmatically
I'm looking for a way to set spring profile in jetty programmatically so that the application that the war file on the server used the given profile, this is my code:
final WebAppContext context = new…

Lukasz
- 691
- 1
- 12
- 30
5
votes
1 answer
Spring Batch and Spring3.1 profiles
recently faced with the issue that profiles feature enabled with spring 3.1 using multiple < beans > definition doesn't work for spring batch own tag.

magulla
- 499
- 1
- 9
- 22
5
votes
4 answers
Converting website with profiles to web application project
I'm trying to convert an existing website to a Web Application Project and I'm having big problems getting the profiles to work.
An example of codebehind in website project is
register-with-role-and-profile.ascx.cs
// Add the newly created user…
user857521
4
votes
2 answers
Maven server authentication as profile properties
I am trying to setup a shared authentication system on a build server.
We have several maven projects that declares how the deployment should be done regarding the different teams that we have (each team has its own authentication…

Matthieu BROUILLARD
- 1,991
- 1
- 16
- 25
4
votes
6 answers
Maven: Selecting Parent Project Based On Profile
I have a maven project - it is a plugin for jenkins. It's parent should be a:
org.jenkins-ci.plugins
plugin
1.414
But at the same time this plugin can be also…

Draco Ater
- 20,820
- 8
- 62
- 86
4
votes
1 answer
RoR: Devise and Profiles
I'm a complete Rails noob and I'm working on my first rails app.
I'd like each user to have a profile, separate from the users table, but linked by id. I did this alright in PHP before, but rails syntax is new. :/
How do I create a profile for each…

Kevin Brown
- 12,602
- 34
- 95
- 155
4
votes
4 answers
Managing Multiple Chrome Profiles - OSX
I'm running this shell script as an app in OSX to initiate multiple instances of Chrome with a fresh personal folder:
do shell script "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --enable-udd-profiles…

Jed B
- 43
- 1
- 5
4
votes
1 answer
Mozilla WebExtensions support for Firefox Profiles
I want to create a Firefox Addon using WebExtensions, that will;
Display user, list of already created Firefox profiles
Ability to switch Profile
Just like User Agent Switcher (it was built on top of Mozilla Addon SDK). Watch…

Ahmed Memon
- 219
- 3
- 11
4
votes
0 answers
SonarQube Custom rules missing when restoring xml plugin quality profile
I have the Sonar XML Plugin installed and we have a custom xml file with pre-defined rules. When restoring the profile by referencing the xml file, sonar does not import the custom rules and instead shows a "Rule not found:" error. The only rules…

CWright
- 41
- 1
4
votes
0 answers
Change icon actionbar depending on the profile selected
I am trying to implement a ProfilesActivity in my app. So, imagine, we are in the home activity/layout: UsersActivity, where we have done addActions to init the actionbar like:
Intent addProfilesIntent = new Intent(this, ProfilesActivity.class);
…

María Moreno Pérez
- 41
- 2
4
votes
2 answers
@ActiveProfile and spring.profiles.active
This is a piece of my applicationContext definition to retrieve some properties.

Peter De Winter
- 1,183
- 2
- 15
- 27