Skip to main content
1-Visitor
March 11, 2011
Question

Building rbInfo for files in dir other than src

  • March 11, 2011
  • 2 replies
  • 933 views
Hi,
I am trying to build rbInfo files that reside in a folder other than src in WT_HOME. I am running following command:

ant -f %WT_HOME%/tools.xml bundle -Dbundle.includes=com/foo/** -Dbundle.source.base=my_src -Dbundle.output=C:\myoutput

I was assuming that by specifying bundle.source.base, I can build rbInfo files under any other folder but the output is still looking for files under WT_HOME/src and am getting following error:

[java]
[java] C:.PDMLink91.Windchill.src.com.foo.foo1.myResource2 (resource info not found)
[java] C:.PDMLink91.Windchill.src.com.foo.foo2.myResource2 (resource info not found)
[java] C:.PDMLink91.Windchill.src.com.foo.foo2.myResource3 (resource info not found)

[java] Execution/Launch Time = 0.0 seconds
!+! ERROR OCCURRED @ C:\PDMLink91\Windchill\bin\tools.xml:626: !!!

2 replies

1-Visitor
March 11, 2011
Not using the same flags as you, I just called ResourceBuild and I store my
files under a wtCustom/ext directory. Because the rbInfo file is not also
under src, it fails. I just copy it to both places at least once. Kinda
stupid.been to busy to figure out why or how to avoid that.




1-Visitor
March 11, 2011
Thanks Dave. I guess I have to use the route of putting it into wtCustom and then build it as well.