Not src/main/webapp/META-INF/ - use src/main/resources/META-INF/, eg.

        
http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/javascript

They will end up in your WAR's /WEB-INF/classes/META-INF/.

Cheers,

Geoff

On 8 Jun 2014, at 8:14 am, Muhammad Gelbana <m.gelb...@gmail.com> wrote:

> That's how I included my JS and CSS files
> 
> @Import(library = { "js/jquery-1.10.2.js",
> "js/bootstrap.min.js",
> "js/plugins/metisMenu/jquery.metisMenu.js",
> "js/plugins/morris/raphael-2.1.0.min.js",
> "js/plugins/morris/morris.js",
> "js/sb-admin.js",
> "js/demo/dashboard-demo.js" },
> 
> stylesheet = { "css/bootstrap.min.css",
> "font-awesome/css/font-awesome.css",
> "css/plugins/morris/morris-0.4.3.min.css",
> "css/plugins/timeline/timeline.css", "css/sb-admin.css" })
> 
> *---------------------*
> *Muhammad Gelbana*
> http://www.linkedin.com/in/mgelbana
> 
> 
> On Sun, Jun 8, 2014 at 1:06 AM, Muhammad Gelbana <m.gelb...@gmail.com>
> wrote:
> 
>> Unable to locate ass
>> ​​
>> et 'js/jquery-1.10.2.js' for component Index:layout. It should be located
>> at META-IN
>> ​​
>> F/assets/js/jquery-1.10.2.js
>> ​
>> 
>> I've already placed this file in the specified location under the webapp
>> folder (i.e. src/main/webapp) and put the mentioned files under *js*
>> folder​.
>> ​
>> The file's path on the disk is exactly
>> *​
>> ​t5​​-basic-bootstrap/src/main/webapp/META-INF/assets/js/jquery-1.10.2.js
>> ​​​*
>> 
>> Where else should I place my META-INF directory if not next to the
>> WEB-INF ?
>> 
>> *---------------------​​*
>> *Muhammad Gel ​​bana*
>> http://www.linkedin.com/in/mgelbana
>> ​​
>> 
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to