Build process requires source and compiled java file management but they are not managed

Technote (troubleshooting)


Problem(Abstract)

Attempts to manage source and class files in a <Source> and <Build> folder respectively in IBM Rational Functional Tester (RFT) result in all files managed in the project root folder.

Symptom

A new a new IBM Rational Functional Tester project, is created.

Managing all Java and resource files in a <Source> folder is not possible.
The compiled classes are in the source folder.
The packages are stored only in the project root folder.
When a new project is created RFT will always use this setup.


Cause

Managing source files and class files in their respective folders is not supported by RFT by default.


Environment

IBM Rational Functional Tester 8.5.0

Microsoft Windows XP Professional SP3, Microsoft Windows 7 Enterprise


Resolving the problem

WORKAROUND:

Use the handout for copying a script from one RFT script to another in case when the RFT work folder requires a different folder structure:

  1. Create a new script in Folder A in Project A with an identical name to the script you wish to copy from Folder B in Project B

  2. Switch to the Resource perspective.

  3. Browse to Project A/resources/Folder A, which contains .rftdef .rftxmap and .java files for the new script.

  4. Delete script.rftdef, script.rftxmap, scriptHelper.java.

  5. Browse to Project B/resources/Folder B, which contains .rftdef .rftxmap and .java files for the script you wish to copy.

  6. Copy: script.rftdef, script.rftxmap, scriptHelper.java

    From: Project B/resources/Folder B

    To: Project A/resources/Folder A

  7. Edit script.rftdef, changing the Project B folder paths to the correct folder paths for Project A.

  8. Edit scriptHelper.java, changing the Project B folder paths to the correct folder paths for Project A.

    Note: For both steps 5 & 6 there should be two changes to make.

  9. Switch to Functional Test perspective.

  10. Open the script from Project B and the script from Project A.

  11. Copy the contents of the script from Project B into the script from Project A.

  12. Update any folder paths in the script .
If above steps do not lead to a solution, please, contact technical support and provide them with the outcomes that are the results of the above possible causes and other relevant information that opens for the technical support engineers the possibility to solve the issue.

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Functional Tester
General Information

Software version:

8.0, 8.0.0.1, 8.0.0.2, 8.0.0.3, 8.0.0.4, 8.1, 8.1.0.1, 8.1.0.2, 8.1.0.3, 8.1.1, 8.1.1.1, 8.1.1.2, 8.1.1.3, 8.2, 8.2.0.1, 8.2.0.2, 8.2.1, 8.2.1.1, 8.2.2, 8.2.2.1, 8.3, 8.3.0.1, 8.3.0.2, 8.5, 8.5.0.1

Operating system(s):

Linux, Windows

Reference #:

1653511

Modified date:

2014-08-29

Translate my page

Machine Translation

Content navigation