Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
I am in the process of upgrading from Windchill 10.0m040 to Windchill 11.0m030.
I have some customized rbinfo files in my wtCustom folder which I have copied over to the WC11 install structure.
Do I need to run resourcebuild on these files before I do UpgradeManager or will the UpgradeManager find these and build them into my final WC11 system?
If I need to run resourcebuild first, can somone provide me the proper syntax for building StateRB.rbinfo which is in the <loadpoint>/wtCustom/wt/lifecycle folder into the OOTB WC11 install.
Thanks
Solved! Go to Solution.
@BenLoosli wrote:
I am in the process of upgrading from Windchill 10.0m040 to Windchill 11.0m030.
I have some customized rbinfo files in my wtCustom folder which I have copied over to the WC11 install structure.
Do I need to run resourcebuild on these files before I do UpgradeManager or will the UpgradeManager find these and build them into my final WC11 system?
If I need to run resourcebuild first, can somone provide me the proper syntax for building StateRB.rbinfo which is in the <loadpoint>/wtCustom/wt/lifecycle folder into the OOTB WC11 install.
Thanks
@BenLoosli wrote:
I am in the process of upgrading from Windchill 10.0m040 to Windchill 11.0m030.
I have some customized rbinfo files in my wtCustom folder which I have copied over to the WC11 install structure.
Do I need to run resourcebuild on these files before I do UpgradeManager or will the UpgradeManager find these and build them into my final WC11 system?
If I need to run resourcebuild first, can somone provide me the proper syntax for building StateRB.rbinfo which is in the <loadpoint>/wtCustom/wt/lifecycle folder into the OOTB WC11 install.
Thanks
Didn't work for me 😞
Opened a Windchill shell command window, folder is e:\ptc\wc_11\Windchill
Entered: ant -f bin/tools.xml bundle_custom -Dbundle.input=registry
Error message that Build.xml cannot be found.
I also tried it with: ant -f ./bin/tools.xml bundle_custom -Dbundle.input=registry
and same results.
@BenLoosli wrote:
Didn't work for me 😞
Opened a Windchill shell command window, folder is e:\ptc\wc_11\Windchill
Entered: ant -f bin/tools.xml bundle_custom -Dbundle.input=registry
Error message that Build.xml cannot be found.
I also tried it with: ant -f ./bin/tools.xml bundle_custom -Dbundle.input=registry
and same results.
Interesting error message. You should have gotten "bin/tools.xml does not exist". You will get the error message you got when not specifying the -f argument.
This is what I get when supplying a non existent file with the -f argument:
root@wct03:/opt/ptc/Windchill/Windchill# ant -f bin/NoSuch.xml
Buildfile: bin/NoSuch.xml does not exist!
Build failed
root@wct03:/opt/ptc/Windchill/Windchill#
This is what I get when not specifying the -f and there is no build.xml in the current directory:
root@wct03:/opt/ptc/Windchill/Windchill# ant
Buildfile: build.xml does not exist!
Build failed
root@wct03:/opt/ptc/Windchill/Windchill#
I must have mistyped the command yesterday becasue I just did it again and I got a successful build.
Now, how do you verify that your changes are in place if it is an OOTB install with no users, products, files or anything? I would have thought some file under codebase/src would be modified, but I am not seeing any changes there.
@BenLoosli wrote:
I must have mistyped the command yesterday becasue I just did it again and I got a successful build.
Good.
Now, how do you verify that your changes are in place if it is an OOTB install with no users, products, files or anything? I would have thought some file under codebase/src would be modified, but I am not seeing any changes there.
Take a look under codebase/<SamePathAsUnder wtCustom>.ser
For example if you have wtCustom/wt/lifecycle/StateRB.info
Then take a look at codebase/wt/lifecycle/StateRB.ser
You can do (on unix anyways...) string command on the compiled .ser files and see if the customizations are in place.
Thanks, Randy.
I thought that is where the customization would go. I lookied on my WC10 and the StateRB.ser file was modified at the proper time, but when I just looked at the WC11 files, they all have the original timestamps and my customozations are not in there.
I jnow when we did the 9.1 to 10 upgrade, we applied the customizations after the upgrade, but the WC11 upgrade guide says to do the customizations before the upgrademanager is run.
Since the ant command is being run from the Windchill folder, I am guessing that the scripting knows to look in the wtCustom folders and process all *.rbinfo files under there.
It seems as if the rehosting of 10 and the upgrade to 11 is more complex than the 9.1 and 10 versions were. Though once I figured out some shortcuts with the rehosting process and the rehost utility, that process goes smoothly now.
Randy,
I made some changes and everything ran the secind time and the *.ser files are changed and the RB files have today's date on them.
I did find that the enumCustomize command will show the modified files. The added customizations that I added show up initalics and the PTC values are in normal text. Very easy to see what has been changed and verify you got it right.