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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

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

ptc-4479080
2-Explorer

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?

Announcements


Top Tags