[local | dev | prd] grouping properties?

Maven allows us to build our ear/war files for our project of the ADF.

So, I currently have my ${env.variable_name} set up to take advantage of my directory OJ_HOME pointing to my root for 12.1.2 directory files ojmake/ojdeploy.

I was wondering if it is possible to use an environment variable to switch between the .properties files different (3)?

We currently have ModelBundle.properties and ViewControllerBundle.properties for our application.

I would like to set up a prefix or a suffix based on an OJ_HOME environment variable so the application knows just one point to similar to a file of properties of language - ModelBundle_en_US.properties

I wish it were ModelBundle_local.properties or ModelBundle_dev.properties

Someone at - it suggestions?

How about a maven profile to change between the targets?

in the maven profile, you can define a variable of maven containing the name of the properties file which must be copied to the installation of the target. The task of the filter maven could rename the file properties on behalf of the base waiting for your app.

might look like this:


    
        org.apache.maven.plugins
        maven-antrun-plugin
        
            
                deploy
               
                    
                        
                    
                
            
        
    




    
        dev
        
            
                
                    
                        maven-antrun-plugin
                        
                            
                                select-target
                                
                                    dev
                                
                            
                        
                    
                
            
        
    
    
        stage
        
            
                
                    
                        maven-antrun-plugin
                        
                            
                                select-target
                                
                                    stage
                                
                            
                        
                    
                
            
        
    
    
        PROD
        
            
                
                    
                        maven-antrun-plugin
                        
                            
                                select-target
                                
                                    prod
                                
                            
                        
                    
                
            
        
    

Good bye

DPT

Tags: Java

Similar Questions

  • Suddenly can't access local users and groups permissions list

    In computer management (my computer / manage) "Local users and groups" icon has a red x on it and when I click on it I get this message:

    Local users and groups
    Unable to access the computer {computer name} toa. The error was: library not registered.

    How can I find which library is not registered, so I can register?

    BTW, this is one of several very similar problems that began to arrive after the last update of Microsoft Windows Vista.

    Hello GCCarvill,

    Thanks for posting your question in the Microsoft answers Forum.

    If you have a system restore point, before applying the updates would be the fastest way to restore the library file
    who is missing. Use the following article to restore to an earlier point in time. Don't forget to create a manual restore point before using an earlier version of the operating system.

    936212 KB - how to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista
    http://support.Microsoft.com/kb/936212

    You can also create a manual system restore point so that you can restore in case of problems.
    How to create a system restore point manually:
    Right-click on the computer icon in the desktop, then choose Properties
    In the left pane, click System Protection
    Alternatively, to directly access the System Protection tab, click Start and type SystemPropertiesProtection.exe.
    If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    Click the System Protection tab and then click on create.
    In the System Protection dialog box, type a description, and then click on create.

    After the search for the other forums, I found another user having a similar problem. They used a tool called FileMon and after comparison, they discovered a file called activeds.tlb was missing. They have restored a copy in the system32 directory and
    was then able to access the local users and groups successfully. You can download a copy of FileMon of:
    http://www.sysinternals.com

    If please reply back and let us know if it helped to solve your problem or if you need further assistance.

    Thank you

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Series quick reading of the channel group properties

    Hi, can someone please advice what is the fastest way to extract about 400,000 files channel group properties? Currently I use DataFileLoadRed with only the Group of channels that interests me and channels stripped down to a single value by setting the no. intervals of 1 and SectionBegin / end of 1/2. Suggestions for improvements? PHEX

    An alternative would be to open all files with the following code.

    Option Explicit
    
    dim groupindex : groupIndex = 1 ' you can also use a groupname instead
    dim groupProperty : groupProperty = "description"
    
    ' include this in a loop over all your files
    dim filePath : filePath = "C:\temp\example.tdm"
    dim store : set store = navigator.ConnectDataStoreByParameter("TDM", ""& replace(filePath, "&", "&") & "")
    dim propVal : propVal = store.RootElements(1).Children(groupindex).Properties(groupProperty).Value
    MsgBox propVal
    

    The files are open and your properties are extracted. Potentailly datafinder approach should be more fast but if you don't get that market this may be a way out.

  • Don't Win 7 Home Premium no local users and groups under computer management

    I am trying to create local groups, but when I go into computer Managemmt as an admin there no option groups in the tree.  Aide said it is in "computer Management\System Tools\Local and Groups\Groups users", but the only options I have under system tools are planner of the event viewer, shared folders, Performance and device - not local users and groups management tasks.  No idea how I can get access to this?

    I think that it is only available if you have Windows 7 Professional or ultimate edition. Bob Larson Access MVP

  • Win 7 Pro - all users in local users and groups

    Hello I have a new install of Windows 7 Pro with two users; Administrator (built in) and my personal user (CCzahor). I can connect to windows very well with both users.  When I right click my computer and manage them, there is no user appearing in "users and groups / users.  However, if I go to groups, double-click 'Administrators', I see Director listed, and I see CCzahor under "users".  In addition, when I run lusrmgr.msc, I see the same thing as described above, but when I run netplwiz.msc, I see the admin and CCzahor displayed in the list.

    It is not functionally a problem, but rather a nuisance than anything else.  Any ideas?

    Hello

    Please provide a detailed description of the issue.

    I understand the inconvenience you encountered. I will certainly help you with information.

    Note: Users and groups is located in computer management. A collection of administrative tools that you can use to manage a local computer or a remote computer. Please see the link below.

    Local users and groups overview

    https://TechNet.Microsoft.com/en-us/library/cc770756.aspx?f=255&MSPPError=-2147217396

    Important: Under local users and groups, you must click users to see users and groups. And if the two accounts you have in the system have administrator permissions, it's going to be reflective under the administrator group.

    I hope this information is useful.

    Please provide us with the information above to help you best.

    Thank you.

  • Why isn't the local users and groups in Windows 7 Home Premium active?

    Unfortunately, the page of "Compare editions" for Windows 7 does not show that it is disabled for Windows 7 Home Premium.  So, I think that Microsoft is engaged in false advertising by activating only not this snap-in Control Panel.


    Bottom line is: I need to access the Panel to ensure that I am in the Visual Studio debugger users group.  So, I can't debug anything.  The software does not work properly.


    Microsoft should immediately activate this feature.

    I'm sorry, but no original version of Windows has always included local users and groups .

    I recommend posting your question in the MSDN Visual Studio Forums , where other developers can answer. They know how to do what you want.

    To get your suggestion to the right people at Microsoft, please click the give us your comments. Help improve Windows 7 link under ads at the top of the main page of the forum, or go to the page give us your comments for Windows 7 . Boulder computer Maven
    Most Microsoft Valuable Professional

  • Where the local users and groups in Win 7 Home Premium? I don't find it in computer management.

    Where the local users and groups in Win 7 Home Premium?  I don't find it in computer management.

    Elevate your privileges permanently would defy the purpose of UAC and is therefore not available. There are two ways to start a command prompt:

    1. click on the start planet.
    2. type the three letters cmd in the search box.
    3. press on Ctrl + Shift + Enter
    4. click on "run as Administrator".

    or:
    1. create a shortcut on the desktop for cmd.exe.
    2. right click.
    3. click on run as administrator

  • Local users and groups is missing from computer management

    I can't find the local users and groups folder in computer management. He is absent.

    Hello

    Advanced management tools are only available in the Windows 8 Pro version. It seems that you have the standard version of Windows 8. Windows and Windows 8 RT have local users and groups with disabilities.

    You can also check the wire and check.

    The local users and groups missing

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

  • Migration of LCM - unable to see 'Planning Applications Dev' under 'Group App'

    -Situation-
    * We have hyperion 11.1.1.3.24
    * Objective i - trying to migrate files LCM of our DEV to UAT environment
    * DEV LDCS alone has enabled planning application ("budget"), little EN reports & other related artifacts.


    -This day-
    * Successfully exported these 4 (shared services, EPMA, Planning & EN) of our DEV
    * 2 first IMPORTED (Shared services, EPMA).
    * Although the migration status indicates failed in my case, noticed all of the artifacts have been migrated successfully. (As noticed claims reported in other posts as well.)


    But I'm stuck on the third market, planning to import artifacts. Since then, I do not see 'Planning applications for Dev' under 'Group of Application' (in the shared services console).


    What I would do. Any help would be greatly appreciated.

    [what I create new Application planning under the same name 'Budget' in our UAT and start run import?]

    Are you created the application group in shared services, it does not exist by default.
    Your planning applications must have been against another group of applications, developing them until you plan to apps.
    You can then create an application group and planning applications to move him.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • The changes at the local level or group registered in the register policy?

    In the Windows 7 Pro version, are changes to local policies & groups registered in the registry or in a file? I wonder if I can 'hack' the register in the Home Premium version & get essentially the same result as I would in the Pro version.

    Hello

    If they want Windows 7 to perform as a professional, you must purchase a professional upgrade:
  • How the migration of the DEV PRD instance page.

    Hello

    Implementation of new changes in the DEV Forum, want to migrate PRD pending. Plese guide me.

    Space prod, application id is different then the ID of development workspace and application.

    I need to export pages updated the 3 and 4 new pages.

    Oracle apex version: 2.2.0.00.32

    Concerning
    RAM

    Agreed... only import/export of any application.

    The different components in the Apex often seem to be identified by an internal identification number and if you export/import a few pieces of an application, there is no guarantee in environments that internal identification numbers will be the same and you risk making reference to non-existent objects.

  • Cannot access the local users and groups

    Hello everyone, I got this error since April 2010:
    Cannot access the computer ComputerName. The error was: invalid syntax.

    It is not really bad for me, because I used to use the cmd console.

    I followed several recommendation to solve this error, but without success. Many colleagues have the same error. About 100 of the 500 have this problem.
    Don't tell me to reinstall the PC because it is not possible. I have no spare time to set my PC again and install all required software. And to reinstall the PC isn't sollution.

    Re-register the dll or other files not work. Not work replace the msc or cpl files. Installation of the admin packs, technical resource kits or installer also not work.

    No errors in the application logs, no errors in the system log, no errors in the security logs. GPO is clear. The same mistake in compmgmt.msc, lusrmgr.msc, or when I add the MMC snap-in. So I guess that the error in the XML (MS XML) parser tool or in the msc file.

    Do someone have the solution for this?

    Yet once the relocation no solution!

    Hi Peter,.

    In this case, I would say that you post your question in the Microsoft TechNet forums such that there is a problem with more than 100 computers.

    Windows XP IT Pro category

  • Control Panel is not on the list. Users and local groups does not appear in computer management.

    1. click on start, and then point to setting, control panel is not on the list.  When you try to get to the Panel of control via a link in Help and Support, had an error, "operation has been cancelled due to restrictions in effect on this computer.  Contact your system administrator. »

    2. local Users and Groups does not appear in computer management.

    There is only one profile on the PC, the OS is XP Home.  It seems lost his administrator privileges somehow my user profile.  Could you please suggest how to solve this problem?  Thanks in advance.

    Hi PJohnson,

    You can access the link below and follow the steps in the article to create a new user account and copy the data to the new account.

    http://support.Microsoft.com/kb/811151

    I hope this helps. Let us know the result.

    Thank you and best regards,

     

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Is it possible to add local groups and users on Windows 7 Home Basic Edition?

    She is trying to help someone solve the problem of having with what she said, it is Windows 7 Home Basic Edition.

    See said that it is a purchased laptop recently and that she had already used the local users and groups on this laptop, and now she is no longer able to see.

    I told her that I was pretty sure that the local users and groups was not available in Windows 7 Home Basic Edition, but she said she had "activated" (his words) at the store where she bought and was able to add a new user, because it was part of his mission in M/S of SQL...

    Is this possible? Are there options to do? It doesn't make sense to me, so I thought I would post it here.

    Thanks for any idea that you can afford.

    Is this possible? Are there options to do? It doesn't make sense to me, so I thought I would post it here.

    Windows 7 Home Basic Edition under the snap-in to manage local groups is not included. However, you can do the work manually as follows:

    1 log in under an administrator account.
    2. click on the start planet.
    3. type cmd.exe in the search box.
    4. press on Ctrl + Shift + Enter
    5. click on "run as Administrator".
    6. type the following commands and press ENTER after each:
    net localgroup "Family" / Add
    net localgroup
    net localgroup 'Family' 'Jack' / Add
    net localgroup "family".
    net localgroup 'Family' 'Jack' / del
    net localgroup 'Family' / del
    The meaning of the switches should be obvious.
  • I can't create the local group on vSphere Client 5.5

    Hello, Hello all!

    I'have the vSphere Client 5.5 and I cannot create a local group on the tab "local users and groups. When I create a group shows me an error and I can not create it. This is the error that I have:

    Call "HostLocalAccountManager.CreateGroup" of object "ha-localacctmgr" on ESXi 'IP' failed.

    I am connected to the root.

    I saw in other forums that it is impossible to create groups due to the last version is only possible in the Web Client that comes integrated with vCenter.

    In the old versions is possible, but when I open a session in vSphere Client 5.0 for example, I have to update version and I can't use the 5.0 version.

    How can you help me?

    Thanks and greetings

    PD: Sorry for my bad English

    Hi Danisb3,

    It seems that local users is now the recommended around work (see link above), but as you said if you have vCenter you can add groups

    ESXi 5.1 and later versions does not support local groups. However, Active Directory groups are supported - is it possible to connect to AD?

Maybe you are looking for