Skip to main content
3-Newcomer
July 25, 2017
Question

How add javascript library to extensions in eclipse....

  • July 25, 2017
  • 1 reply
  • 2540 views

I know, How add javascript library to extensions in eclipse..

first, market place download

'AngularJS_Extension-ext' in 'ptc-windchill-extension-1.7.0-03' in 'TW_Download_PTC Windchill Extension'

'AngularJS_Extension-ext' extensions metadata.xml is

<Entities>

    <ExtensionPackages>

        <ExtensionPackage name="AngularJS_Extension"

                          description="AngularJS Libraries for Thingworx"

                          vendor="Thingworx"

                          packageVersion="1.0"

                          minimumThingWorxVersion="5.0.0" >

            <WebAppResources>

                <FileResource type="WEBAPP" file="Runtime/lib/angularjs" description="Library folder for AngularJS" />

            </WebAppResources>

        </ExtensionPackage>

    </ExtensionPackages>

</Entities>

so I add my Extension Project metadata.xml

<WebAppResource>

<FileResource type="WEBAPP" file="Runtime/lib/abc" description="Library folder for AngularJS" />

</WebAppResource>

and Add folder Extension Project / webapp / common / Runtime / lib / abc

and copy Javascript files....

and ant Extension Project...!!

but Import Error

Source '\ThingworxStorage\extensions\IntegrICT_Chart_Extensions\webapp\common\Runtime\lib\abc' does not exist...


How fixed My Error??

Please Help...

1 reply

5-Regular Member
July 26, 2017

Hi Seung, can you please confirm if this is the error you are seeing in Composer during the import process or in the eclipse?