Links from tests to production classes

Our source tree has two top-level branches: one for test and the other for production classes. The package (subdirectory) structure is identical in both branches. This is, I believe a fairly common arrangement. However, it creates a problem with Javadoc that I haven't been able to solve. I want to build documentation collections separately for the two branches, so that the test and production classes aren't commingled. If I do this, I get warnings about @link references not being found wherever the documentation of a test class links to the documentation of a production class, even though they are in the same package. I've tried various solutions: "-link"ing to the production documentation, including both branches of the source tree in the source path and naming the test classes (rather than the packages) on the command line, etc. Nothing gives me the results I want.
Given how common (I believe) this organization is--to the extent that it's supported by some IDEs--I'm surprised I can't get Javadoc to do what I want. Am I missing something, or is this really not possible?

I've tried that. It doesn't work.I assume you have the sources for one package split across two source locations. Have just tried this under Windows with jdk 1.5.0_06 and 1.4.2_10 and they both seem to allow this.
Created this class file in src1\p1\Reg.java
package p1;
public class Reg {
     * Does something
    public void doit(){
        System.println("done it");
}And created this class file in src2\p1\Reg2.java
package p1;
public class Reg2 extends Reg {
     * The main
    public static void main(String[] args){
        new Reg2().doit();
}And then ran the command:
javadoc -sourcepath "./src1;./src2" p1I get one set of documentation that includes both classes with links between them, but no errors.

Similar Messages

  • What is the best practice to deploy the SharePoint site from test to production environment?

    We are beginning to start a new SharePoint 2010 and 2013 development projects, soon developing new features, lists, workflows, customizations to the SharePoint site, customization to list forms and would like to put good practice (that will help in deployment)
    in place before going ahead with development.
    What is the best way to go about deploying my site from Development to Production?
    I am using Visual Studio 2012 and also have Designer 2013...
    I have already read that this can be done through powershell, also through visual studio and also via designer. But at this point I am confused as to which are best practices specifically for lists, configurations; workflows; site customizations; Visual studio
    development features; customization to list forms etc. You can also provide me reference to links/ebook covering this topic.
    Thanks in advance for any help.

    Hi Nachiket,
    You can follow below approach where the environments has been built in similar fashion
    http://thesharepointfarm.com/sharepoint-test-environments/
    if you have less data then you can use  http://spdeploymentwizard.codeplex.com/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b0bdb2ec-4005-441a-a233-7194e4fef7f7/best-way-to-replicate-production-sitecolletion-to-test-environment?forum=sharepointadminprevious
    For custom solutions like workflows etc you can always build the WSP packages and deploy across the environments using powershell scripts.
    Hope this helps.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
    Hi, can you answer me specifically with regards to the foll:-
    lists
    configurations
    workflows
    site customizations like changes to css/masterpage
    Visual studio webparts
    customization to list forms
    Thanks.

  • Steps for Go Live for Webtools moving from Test to Production

    Further to the useful checklist in the wiki recently supplied by Bryce can I ask for some minor gaps to be filled ( perhaps by inserting a few additional steps in that document)
    I have yet to hit the issues created by a go live implementation but this is only a matter of time...
    I am trying to work out what needs  to occur between having :
    a) a test B1 database successfully synching to a test WT site and db set up
    and
    b) the Production B1 database initially synched to the the live WT live WT db ready to accept the first live transactions.
    1) Copy WT site from test to live location
    2) Change Server config, settings and Tables tabs in Synch Manager click on 'Install Plugin' to add custom fields to Production B1 database
    3) ......
    I am stuck as to what needs to be done to "reset"  the WT back end db and how one goes about this.
    Coupled with this and probably part of the answer is the 'Initialise Synch' button. It would be useful to understand exactly what this does in terms of data  - presumably it is only transactional data - but which tables are affected?
    Also if there's anything else that I might have overlooked in terms of potential pitfalls I'd be grateful for advice - the recent posts regarding product trees and images come to mind.
    Thanks

    First thing is to plan for some downtime in your B1 databases. Nothing more frustrating than having new data come into b1 when you're trying to set this up. So perhaps do this at night or on a weekend when no one is using B1.
    Install Plugin operation adds UDF's, edits the stored proc in b1 db, and creates the queue table, PRX_Transaction_Queue
    Initialize synch runs upgrade scripts(if applicable), deletes all data that has synched from B1 previously(or would synch from Wt to B1, like a test order created in Wt) and inserts all relevant data into the queue table in B1 db. Also the synchid's are reset. It's pretty much the same list as is displayed on the Settings page of the Synch Manager. Please someone correct me if I'm missing something here!
    Pre-requisites:
    - Name the Wt db relevant to its position in the environment. B1Webtools is not the greatest name, it's meant to be a jumping off point. Rename your Wt db in the way that you would for B1. ie WebtoolsLive, WebtoolsTest. Makes things easier
    Two options:
    1) Presuming you have a test Wt db and a test b1 db or even a test Wt db and a production(live) B1 db, you could duplicate the test Wt db and change the synch manager config to point to the B1 live db. Install the "plugin" on the new B1 live db and enter your table mappings. Initialize synch will delete all the data that has synched from B1 test db to Wt db(now live db) and reset the synch id's to zero. These will be populated during the synch. Then Run Synch.
    Caveat: This option is fine if your synch takes a "short" period of time. Short being an hour. If you have say 20,000 business partners with 3 years of order history and 300 lines per order... expect several hours.
    2) Create a test synch profile and a live synch profile in tandem and update only the live synch profile with data. Also, have two web tools websites but work primarily in the live one. The synch manager will auto synch both profiles every time the service runs(set by you)
    When it's go time, copy the live db's over the test db's so you have a test environment exactly matching your live environment.  Now, obviously as soon as new data goes into the live db it's out of synch, but this way you have a test system you can break or use to test upgrades, etc.
    As you might guess, there are a number of ways to go with this. It really does depend on a) how comfortable you are with moving data around in SQL and b) what your setup entails.
    I think the best thing you can do is make it as simple as possible. Don't overthink things and make sure you have a backup of everything before you start.
    Good luck!

  • Transfer data from Test to Production Server

    Dear All
    I want to know how to transfer data from test server to production server.
    Lets say we have done all the setup steps of GL, and we have also feeded chart of accounts, journal entries, recurring etc. at our test server. Now we want to shift our data from Test Server to Production Server.
    What can be the procedure?
    I shall be really thankful.
    Best Regards
    Muhammad Habib
    http://mhabib.wordpress.com

    Dear hsawwan
    Thanks for your reply. Can you send me this document via email. My email id is: [email protected]
    Secondly can you please tell me how to just transfer my Chart of Account.
    I shall be really thankful to you.
    Best Regards
    Muhammad Habib

  • Migrating Trading Partner from test  to Production environment

    Hi,
    My Production environment has configuration for two trading partner.
    I need to migrate one more trading partner from test environment to (the existing) production environment.
    I see Agreement level export, TP level export, Config level export options in Oracle B2B.
    Can you please suggests as to which is the fastest and most accurate way to migrate new trading partner configuration?
    Regards,
    Ravi Shah

    There is nothing as preferred option. However you can keep few things in mind.
    1. Agreement Export - Preferred option , if you would like to export only specific Trading Partner and Agreement details.
    2. Repository Export - For full repository export.
    3. Trading Partner Export - This option do not keep any TP in mind while taking the export, hence you may not information about Delivery channel and Agreement. This provides information about Trading partner profiles and Supported Document defition of the trading partner.
    Let me know.

  • Documents to be linked from DMS to Production Resource Tools

    hi, All
    I want to Link some documents to PRT through DMS.
    From DMS i choosed object link Production resourec/tools.
    I searhed PR/T no result found.
    So Now i want to Know that How i could Creat PRT and Link some document to PRT.
    Any one help me
    Rgds,
    Ben

    Hi,
    I know this post is old, but to answer the question:
    Yes, you can link, using Object Linking functionality in DMS, to a PRT.
    The object is a bit obscure in the object list, but, when selecting a object in the DMS Config>Define Document Type>Define Object Link, look for the object called CRVS_B.
    This is the PRT Object Link's definition, which will then allow Object Linking functionality as required.
    The other way, as mentioned earlier, is to simply use the PRT functionality from your transaction, i.e. IA06 to link to a DIR. This has the downside though that the bi-directional navigation from DMS<>PM for example will not exist.
    Regards,
    Freddie.

  • Coping Portal objects from Test to production on different Domains

    I want to know if anyone besides my company uses separate domain environments to do development, QA, and production. How did you get around the object owner issues that come from this level of security. Did you have to Export OID objects from one environment, and import them into the other environments to get a common GUID? Do you use a common user to do development? I would like to hear some common/best practice advise if you have any.
    For those that want to understand the issues here is a little example:
    For this example, I am going to call my company Acme (I like this name). Acme uses a Sneaker method of security (Sneaker method means - To move data from one level to another, you must put in on a diskette, tape, or CD and put your sneakers on the floor and walk it to another location to install it.). While this is the most secure method out there to day, it makes working in development EXTREMELY difficult. Completely isolated environments require special concerns. I wanted to know if anyone out there does this now, and how they manage these issues.
    Domains:
    www.Acme.com
    www.QAAcme.com
    www.DevAcme.com
    When you do development on your site you login as a portal developer JSmith, or KJones, of BRight on the www.devacme.com domain. You build your Portal objects and custom stuff. Now you want to move it to QA, so they can test it and promote it to Production. You build your transport sets. You export using your UNIX script and get your file. You burn the file and the UNIX script to CD.
    You then take the CD to the www.QAAcme.com domain Portal server and login to that system as Oracle / OrcAdmin (God mode). You run the Import script as you normally would. <Error> This doesn't work completely because your user Jsmith is different on this domain and doesn't carry the same GUID in OID. While privileges and spelling are identical, the GUID's in OID differ and the domain names don’t match. (Problem - Separate domains and OID identities - objects without matching owner GUID's will not import.)
    When you check your stuff you realize that some or most of your work is missing, and all of the security that you placed on the objects is not working correctly either. Because domains are different, any OID users which you assigned permissions to are now not working at all. You will have to redo all the permissions work on this domain just like you did on the other domain. (Problem - there is no easy way to change domain names associated to OID users or group accounts, even if the names are EXACTLY the same. Permissions do not move over for users so assigning item level security is a waist of time since you will have to manually do all that work over again.)
    To correct then problems above, you go and export OID user objects like OrclAdmin, IAS_Admin, and a few others. You import these identities on each domain. Now what? Do you give developers 1 identity to do their work? Pass out the Admin passwords on Dev to all the developers to do as they please? Do you build a Dev User for each Developer you have and manage those ID's outside of your normal routine?
    This should draw a somewhat clear picture. There are more issues besides these. I left those out of this talk for now.
    If you have questions please let me know. I would like to hear input on this. Right now, I don't have any easy solutions, just a lot of extra work. Thank you in advance for any input.
    Frank

    Hi Frank,
    A very interesting question, which I never tried nor seen. Anyway, maybe I can try to give you a hand...
    I believe the major problem doesn't seem to be the GUID but rather the privileges of the users / groups within the Portal. I'm assuming that you really want that the users and groups privileges be assigned to the three Portals, 'cause you wanna test them or something like that... otherwise it would be a lot easier to assign them only to the Production machine - also what the Portal documentation encourages you to do (and never take them with the Portal Export / Import... ie, the Portal ACLs).
    In overview, what I think it might work, would be something like:-
    1. Export all the OID users / groups to LDIF files.
    2. Change the domains in the LDIF files to the Target Portal.
    3. Import all the OID users / groups to the Target Portal.
    4. Export with the Portal Export to a Transport Set.
    5. Export the Transport Set to a DMP.
    6. Import the DMP.
    7. Backup the Portal Target at this stage - ALWAYS!
    8. Before merging the DMP file the WWUTL_SEC_TX_PERSON$ and WWUTL_SEC_TX_GROUP$ tables need to be changed - DN (security is taking IDs of the users/groups internally to the Portal - so this should be fine).
    9. Merge the Transport Set within the Portal UI.
    Till point 8 it should be easy to be done... and you may check the Portal Configuration Guide over the 10.4.8 Migrating Users and Groups - http://download.oracle.com/docs/cd/B14099_19/portal.1014/b19305/cg_imex.htm
    On step 8 do something like the following:-
    -- groups (dn)
    update WWUTL_SEC_TX_GROUP$
    set dn=replace( dn, 'dc=dev_domain,dc=com', 'dc=prod_domain,dc=com' )
    update WWUTL_SEC_TX_GROUP$
    set dn_hash = wwsec_api_private.get_dn_hash( dn )
    -- users (dn)
    update WWUTL_SEC_TX_PERSON$
    set dn=replace( dn, 'dc=dev_domain,dc=com', 'dc=prod_domain,dc=com' )
    update WWUTL_SEC_TX_PERSON$
    set dn_hash = wwsec_api_private.get_dn_hash( dn)
    If you do have the opportunity to test this, I'd be much appreciated in knowing whether you've achieved to get this sorted out. And even if there is something I may be missing then you may come back with your questions as I'll try to answer them to my best knowledge.
    Alternatively, you can use the cloning notes within the Metalink website, what they do is a schema database export / import and there it IDs with be there. The only downside is that the export / import will do everything and Portal Export / Import is more flexible, ie, you may not be interested in bringging the whole Portal, but just a couple of pages or Page Groups.
    I hope it helps...
    Cheers,
    Pedro.
    PS - I hope all the above makes sense, but if not, just let me know (or detail me what do you want where I've failed to understand you).

  • Rman duplicate database from test to production different host

    Dear All,
    usually i do the rman duplicate (clone) database in different host using same backup location as the source database in target database.
    now i am in situation to clone the database with different backup location
    source database location:/u01/db/backup
    target database location: /tmp_dbbkup
    is it possible to create the duplicate database with the command
    rman target sys@UAT1 auxiliary /
    RMAN>CATALOG BACKUPPIECE '/tmp_dbbkup/UAT_2670198561_44_20110101;
    RMAN>duplicate target database to DEV;
    is it ok?
    we dont have privilege/rights to create a folder/directory in production server.
    what i have to do now?
    thanks in advance.
    my oracle version: 10.2.0.4.0
    operating system: AIX

    tychos wrote:
    Hi rajeysh,
    what i have to do now?You could make a sym link on the dev server
    So /u01/db/backup on the dev server points to /tmp_dbbkup
    Regards,
    Tychothank for your reply tychos,
    $ ln -s /u01/db/backup/OUAT_2670198561_44_20110101 /oracle/db/backup/UAT_2670198561_44_20110101
    $ ls -ltr
    total 1475968
    -rw-r----- 1 oracle dba 307654656 Jan 7 10:03 db_DEV_20110107_4em1gm3e_1_1_L0
    -rw-r----- 1 oracle dba 448030720 Jan 7 10:03 db_DEV_20110107_4dm1gm3e_1_1_L0
    lrwxrwxrwx 1 oracle dba 45 Jan 11 20:53 UAT_2670198561_44_20110101 -> /u01/db/backup/OUAT_2670198561_44_20110101
    $ ln -s /u01/db/backup/AOUAT_2670198561_46_20110101 /oracle/db/backup/OUAT_2670198561_46_20110101
    $ ln -s /u01/db/backup/OUAT_2670198561_47_20110101 /oracle/db/backup/OUAT_2670198561_47_20110101
    $ ln -s /u01/db/backup/OUAT_2670198561_45_20110101 /oracle/db/backup/OUAT_2670198561_45_20110101
    $
    is it ok
    will the duplicate gets the information from /oracle/db/backup
    if i did anything wrong , please correct me?

  • How do I remap the connection from test to production

    We are in the process of setting up EPIC's Healthcare software and purchased BO XI 3.1 for the reporting. And one of the topics is what is the best practice for managing the data connection to redirect from server to server. Each report will have to move through 3 servers, ClarityPOC (development) server, then once logos are on them and they are tested we need to move them to Clarity_QA (test) and then again to Clarity_Prod (production) server.
    Thanks,
    Phil

    Hi Phil,
    There are couple of ways to move the objects from Dev to QA followed by Production.
    1). LCM Method, where you need to install software and add the Dev, QA and Prod and move the Objects as Hakim said.
    Here are some more documents to refer
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_lcm_user_en.pdf
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi31_LCM_User_en.pdf
    2). Another method is Import Wizard
    In this method, you don't need LCM tool, In the installed BO, there is a wizard called import wizard where you can move the objects around.
    If your Version of BI is 4.0 then LCM is integrated in BOBJ.
    Here is the screenshots for Import Wizard.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40ec9e71-9e69-2e10-d388-e7eda0a6a965?QuickLink=index&overridelayout=true
    Thanks,
    Sravanthi

  • Migrating PS from test to production server

    Hi,
    I'm going on a evaluation test for PS. It's installed and configured on a temporary server (the test server) and working fine. The next step is to have this working on the "real" environment, it means in the production server.
    What will happen with the documents I've already applied a policy? Can i use this documents with the new installation? Will the documents be managed with the new server?
    Thanks, regards.

    Given this, I think I would be inclined to set up a virtual server or
    DNS alias for the production server, like
    adobepolicyserver.mycompany.com.
    That way, you can freely move the policy server function around by
    moving the software and changing the alias. If you simply use a name
    assigned to the server for another purpose, you could hit the
    situation where someone else decides that name has to change for
    administrative reasons, or where e.g. there come to be two production
    servers and someone decides Policy Server needs to move to the second
    one to balance the load.
    Aandi Inston

  • How to configure Crystal Report from Test DB to Production DB

    Hi,
    I have a VB/asp.net application that is currently using Oracle DB.
    Now, I'm creating a new Crytal report that will connect using any userID, password, database, servername on runtime.
    When I created the Crystal Report I used the Oracle OLE/DB connection using the test database logon information now I would like to make this  dynamic at form load event which I have my crystal report viewer configured and then pass the dataset regardless if it is coming from test or production database.
    Now, at form load connection using the test database I can see the report properly which I provided with the same logon information when the crystal report was created but when I switch the login using the production database, it doesn't get the correct datasource and logon information and it still uses the test datasource.
    I would appreaciate if you can give me a solution or any links of the previous threads that has similar issue with resolution or any sample that may help.
    Thank you,
    Ryan

    Hi Ryan
    I'd start with these samples:
    csharp_win_dbengine.zip / vbnet_win_dbengine.zip
    csharp_win_subreport_logon.zip / vbnet_win_subreport_logon.zip
    Link to the samples and others is in this wiki: Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    Next, I find the Crystal Reports for Visual Studio 2005 Walkthroughs to be an absolute gem (and it applies to all versions of CR and VS).
    And of course, the developer help files:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    Now, one thing you don't mention is which APIs you are using; CR, or RAS - both of which may be available to you depending on the version of CR and VS you are using... RAS Developer Help files are here:
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    The RAS APIs are a bit more complicated, but way more powerful. And there is even a utility that will write the DB logon code for you:
    KBA: 1553921 - Is there a utility that would help in writing database logon code?
    Finally, don't forget to search this SCN Space. Search box is in the top right corner. I find using short search string is best. E.g.; 'crystal net logon' will return a number of KBAs (notes), wikis, blogs, etc., etc.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Have anybody copied Queries from "Test" database to "Production database?

    I am looking for the best method to copy queries from one database to another.  From TEST to PRODUCTION.  Other than Copy Express or Copy/Past, is there another recommended approach?  Such as within SQL?

    Hi Alain,
    Copying anything from database A to database B using SQL, means somehow using  SQL command "Insert". Please note that commands like Insert, Update, Delete are NOT SUPPORTED as it might cause data corruption.
    Kind regards
    Mario

  • Best way to transfer application from Test Environment to Dev. Environment

    Hi All,
    We are try to create an application on Hosted Environment similar to www.apex.oracle.com.
    We got two work space
    1. app_production
    2. app_test
    My application will have 200+ tables and many other supporting object.
    My question is in hosted environment what is the best way to copy application from test to production environment (P.S In hosted environment I can uses SQL Developer / TOAD or any other tool .. its similar to www.apex.oracle.com)
    With my present workaround I have to use
    Go to Utilites -> Generate DLL
    and then export this and application..
    The main problem is 200+ table and associated structures .. its very difficult to keep track ...
    Can anyone suggest me any good way for HOSTED ENVIRONMENT

    Hi,
    Just an idea:
    1 - Do a DDL export of the source env
    2 - Do a DDL export of the target env
    3 - Use some tool to compare those files and highlight the differences. There are even some tools that are smart enough to generate SQL statements to apply the differences in the target env.
    I hope this helps.
    Luis

  • Planning 9.3 Applciation migration from test to prod

    Hi Guys,
    I wnated to migrate my planning applciation from Test to Production instance,
    In both the instances I have Oracle 10g as a repository for my applications.
    Please send me the steps to Migrate the same.
    My Test instance has one Planning applciation "PlanApp"
    In Production I just installed the Planning, I ahve not created any applicaion yet, but wanted to copy from my test instance.
    Thanks

    Hi,
    This topic has been covered quite a few times now on this forum, a bit of searching will give you all the answers you need but in summary :-
    Create a new planning app on production
    Register with shared services.
    Make it is the same admin name account betwen test and prod.
    Go into the oracle schema on prod for your app, extract the SID value from the HSP_USERS table where the user_id = 50001
    Stop Planning on prod
    Take an export of the planning app schema on Test
    Import the schema over the top of the schema on Prod
    Update the HSP_USERS table with the stored SID value on prod.
    Restart Planning.
    Cheers
    John

  • Migrating from test to prod

    Hi All,
    After migrating a BPEL process from test to production changed the deployment descriptors for BAM hostname/username/password using BPEL PM (prod). However, the changes did not take effect. Sensor data was not sent to the production BAM server.
    What's the best way to migrate from test to production a BPEL process that has BAM sensors?
    Thanks.

    If you are using BPEL 10.1.3.1 there is a bug with BPEL PM that any time you modify any of the descriptor values, you must retype the password. Failure to do this will cause BPEL PM to encrypt the *'s as the password.
    Check and make sure the user account that BPEL is connecting to BAM with is not locked out because of this.
    Once you get everything typed in and saved correctly, do a restart on the BPEL container to make sure everything is reset.

Maybe you are looking for

  • Need to synch calendar and contacts, but also open attachments with OWA

    I have a client with a Tour 9630.  They are using Exchange 2007 so we cannot use BES or BPS on that server (their only one). His biggest gripe using the redirector was that he could not open attachments.  After doing some digging, I found out that yo

  • SCCM client status show NO

    Hi All, i have deleted obsolete machine from SMS collection ‎‎after that i reinstalled the SMS client and readded the same machine ‎‎still that machine is showing client status is NO Please help me what to do

  • Functional spec in MM

    Hi experts, Pls give me the functional spec in material management. Thank you with regards, Kannappan.

  • Auto update location of missing files? (like old versions use to)

    When a song came up missing previous versions, once you found the location old versions of itunes gave you the option of auto-updateing the other songs in that album that were also missing. it appears that 7.02 doesn't do that. Anyone know a way arou

  • Sockets - different behavior on diff machines

    Hi, I am using sockets to send text and files to a client running Windows CE. I have been writing and testing all my code on a W2K machine and it works fine. My code is on a network drive and I run the client and server in different command windows.