1 Reply Latest reply on Jul 26, 2017 3:28 AM by supandey RSS
    slee-9 Newbie

    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...