Skip to content

Instantly share code, notes, and snippets.

➜ aui-scheduler git:(master↑1|✔) aa
Buildfile: /Users/eduardolundgren/Liferay/github/alloy-ui/src/aui-scheduler/build.xml
[echo] Starting Build For aui-scheduler
[echo] Ant Properties
[echo] Home : /usr/share/ant
[echo] Ant Version : Apache Ant(TM) version 1.8.2 compiled on June 20 2012
[echo] Build File : /Users/eduardolundgren/Liferay/github/alloy-ui/src/aui-scheduler/build.xml
[echo] Local Build Properties
[echo] version : 3
[echo] srcdir : ../../
<?xml version="1.0"?>
<project name="AlloySass" default="local" xmlns:antelope="antlib:ise.antelope.tasks">
<basename property="ant.file.basename" file="${ant.file}" />
<target name="build-ruby-gems">
<if>
<not>
<available file="${project.dir}/lib/jruby.jar" />
</not>
<?xml version="1.0"?>
<project name="AlloySass" default="local" xmlns:antelope="antlib:ise.antelope.tasks">
<basename property="ant.file.basename" file="${ant.file}" />
<target name="build-ruby-gems">
<if>
<not>
<available file="${project.dir}/lib/jruby.jar" />
</not>
template.parse(
{
days:A.Object.keys(eventsMap),
events: eventsMap
}
)
<%--
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
➜ aui-scheduler git:(master↑1|✔) aa
Buildfile: /Users/eduardolundgren/Liferay/github/alloy-ui/src/aui-scheduler/build.xml
[echo] Starting Build For aui-scheduler
[echo] Ant Properties
[echo] Home : /usr/share/ant
[echo] Ant Version : Apache Ant(TM) version 1.8.2 compiled on June 20 2012
[echo] Build File : /Users/eduardolundgren/Liferay/github/alloy-ui/src/aui-scheduler/build.xml
[echo] Local Build Properties
[echo] version : 3
[echo] srcdir : ../../
<?xml version="1.0"?>
<project name="AlloySass" default="local" xmlns:antelope="antlib:ise.antelope.tasks">
<basename property="ant.file.basename" file="${ant.file}" />
<target name="build-ruby-gems">
<if>
<not>
<available file="${project.dir}/lib/ruby-gems.jar" />
</not>
22:07:36,426 INFO [liferay/scheduler_dispatch-1][PluginPackageUtil:1297] Reloading repositories
22:07:50,244 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1426] Checking for available updates
22:07:50,247 INFO [com.liferay.portal.plugin.PluginPackageUtil][PluginPackageUtil:1470] Finished checking for available updates in 2 ms
Oct 24, 2012 10:08:04 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.IndexOutOfBoundsException: Index: 0
at java.util.Collections$EmptyList.get(Collections.java:2976)
at com.liferay.calendar.model.impl.CalendarResourceImpl.getDefaultCalendar(CalendarResourceImpl.java:46)
at com.liferay.calendar.model.impl.CalendarResourceImpl.getDefaultCalendarId(CalendarResourceImpl.java:50)
at org.apache.jsp.view_jsp._jspService(view_jsp.java:289)
D:\git\private\master-bundles\tomcat-7.0.27\bin>catalina run
Using CATALINA_BASE: "D:\git\private\master-bundles\tomcat-7.0.27"
Using CATALINA_HOME: "D:\git\private\master-bundles\tomcat-7.0.27"
Using CATALINA_TMPDIR: "D:\git\private\master-bundles\tomcat-7.0.27\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.6.0_32"
Using CLASSPATH: "D:\git\private\master-bundles\tomcat-7.0.27\bin\bootstrap.jar;D:\git\private\master-bundles\tomcat-7.0.27\bin\tomcat-juli.jar"
@eduardolundgren
eduardolundgren / gist:3915165
Created October 18, 2012 22:31
DDM Small Image
<%--
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT