cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

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

ptc-4479080
2-Guest

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

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 1
supandey
19-Tanzanite
(To:ptc-4479080)

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

Top Tags