[openwonderland-modules] r2024 committed - ezscript build issue fixed

1 view
Skip to first unread message

openwonderl...@googlecode.com

unread,
Jan 3, 2014, 4:51:37 AM1/3/14
to openwonder...@googlegroups.com
Revision: 2024
Author: abhishek...@wishtreetech.com
Date: Fri Jan 3 09:51:21 2014 UTC
Log: ezscript build issue fixed
http://code.google.com/p/openwonderland-modules/source/detail?r=2024

Deleted:

/trunk/0.5/unstable/EZScript/src/classes/org/jdesktop/wonderland/modules/ezscript/client/animation/PlayFrameRange.java
Modified:
/trunk/0.5/unstable/EZScript/nbproject/project.xml

=======================================
---
/trunk/0.5/unstable/EZScript/src/classes/org/jdesktop/wonderland/modules/ezscript/client/animation/PlayFrameRange.java
Fri Jul 19 11:30:48 2013 UTC
+++ /dev/null
@@ -1,78 +0,0 @@
-/**
- * Copyright (c) 2013, WonderBuilders, Inc., All Rights Reserved
- */
-
-
-package org.jdesktop.wonderland.modules.ezscript.client.animation;
-
-import com.wonderbuilders.modules.animation.client.AnimationComponent;
-import org.jdesktop.wonderland.client.cell.Cell;
-import org.jdesktop.wonderland.modules.ezscript.client.SPI.ScriptMethodSPI;
-import
org.jdesktop.wonderland.modules.ezscript.client.annotation.ScriptMethod;
-
-/**
- * This method will play frame range of Collada animation in model. Frame
range is identified
- * by name assigned to it in Animation capability.
- *
- * @author Vladimir Djurovic
- */
-@ScriptMethod
-public class PlayFrameRange implements ScriptMethodSPI {
-
- /**
- * Function name as used in EZScript.
- */
- private static final String FUNCTION_NAME = "playFrameRange";
-
- /**
- * Object cell.
- */
- private Cell cell;
-
- /**
- * Name of the frame range to play.
- */
- private String frameRangeName;
-
- /**
- * Returns function name as used in EZScript.
- *
- * @return function name
- */
- public String getFunctionName() {
- return FUNCTION_NAME;
- }
-
- /**
- * Set arguments for function. Two arguments are required: cell and
name
- * of the frame range.
- *
- * @param args function arguments
- */
- public void setArguments(Object[] args) {
- cell = (Cell)args[0];
- frameRangeName = (String)args[1];
- }
-
- public String getDescription() {
- StringBuilder sb = new StringBuilder("Usage:
playFrameRange(cell,ranegName)\n");
- sb.append("- plays frame range defined with Animation capability");
- return sb.toString();
- }
-
- public String getCategory() {
- return "Object Movement";
- }
-
- /**
- * Execute function within script context.
- */
- public void run() {
- AnimationComponent animationComp =
cell.getComponent(AnimationComponent.class);
- if(animationComp == null){
- throw new IllegalStateException("Animation capability not
present. Please add Animation capability to cell.");
- }
- animationComp.executeAnimationCommand(frameRangeName);
- }
-
-}
=======================================
--- /trunk/0.5/unstable/EZScript/nbproject/project.xml Wed Nov 27 07:02:37
2013 UTC
+++ /trunk/0.5/unstable/EZScript/nbproject/project.xml Fri Jan 3 09:51:21
2014 UTC
@@ -99,7 +99,7 @@
<java-data
xmlns="http://www.netbeans.org/ns/freeform-project-java/2">
<compilation-unit>
<package-root>src/classes</package-root>
- <classpath
mode="compile">../../../wonderland/core/build/lib/wonderland-client.jar;../../../wonderland/core/build/lib/wonderland-common.jar;../../../wonderland/core/build/lib/wonderland-server.jar;../../../wonderland/core/ext/jme20/target/jme.jar;../../../wonderland/modules/foundation/content-repository/build/client/contentrepo-client.jar;../../../wonderland/core/ext/common/swing-layout-1.0.jar;../../../wonderland/core/ext/common/mtgame.jar;../../../wonderland/core/ext/sgs/sgs-server-dist-0.9.10/lib/sgs-server-api-0.9.10.jar;../../../wonderland/modules/foundation/sharedstate/build/client/sharedstate-client.jar;../../../wonderland/modules/foundation/sharedstate/build/server/sharedstate-server.jar;../../../unstable/iSocial/AVPS-Cell/build/client/AVPS-client.jar;../../../unstable/iSocial/AVPS-Cell/build/server/AVPS-server.jar;../../../wonderland/modules/world/containercell/build/lib/client/container-cell-client.jar;../../../Desktop/jbullet-20101010/dist/jbullet.jar;../../../wonderland/modules/world/avatarbase/build/client/avatarbase-client.jar;../../../wonderland/modules/world/avatarbase/lib/avatars.jar;../../../wonderland/modules/tools/security-group/build/lib/client/securitygroups-client.jar;../../../wonderland/modules/foundation/security/build/lib/client/security-client.jar;../../../wonderland/core/ext/common/TimingFramework.jar;../../../wonderland/modules/foundation/animationbase/lib/trident.jar;lib/javacpp.jar;lib/javacv.jar;../../../wonderland/modules/tools/xapps-config/build/client/xapps-config-client.jar;../../stable/videoplayer/build/client/videoplayer-client.jar;../../../wonderland/modules/foundation/appbase/build/client/appbase-client-cell.jar;../../../wonderland/modules/foundation/appbase/build/client/appbase-client.jar;../../stable/pdfviewer/build/client/pdfviewer-client.jar;../../../wonderland/modules/tools/text-chat/build/client/textchat-client.jar;D:\WB\wonderland\modules\world\cell-editor\build\client\celleditor-client.jar</classpath>
+ <classpath
mode="compile">../../../wonderland/core/build/lib/wonderland-client.jar;../../../wonderland/core/build/lib/wonderland-common.jar;../../../wonderland/core/build/lib/wonderland-server.jar;../../../wonderland/core/ext/jme20/target/jme.jar;../../../wonderland/modules/foundation/content-repository/build/client/contentrepo-client.jar;../../../wonderland/core/ext/common/swing-layout-1.0.jar;../../../wonderland/core/ext/common/mtgame.jar;../../../wonderland/core/ext/sgs/sgs-server-dist-0.9.10/lib/sgs-server-api-0.9.10.jar;../../../wonderland/modules/foundation/sharedstate/build/client/sharedstate-client.jar;../../../wonderland/modules/foundation/sharedstate/build/server/sharedstate-server.jar;../../../unstable/iSocial/AVPS-Cell/build/client/AVPS-client.jar;../../../unstable/iSocial/AVPS-Cell/build/server/AVPS-server.jar;../../../wonderland/modules/world/containercell/build/lib/client/container-cell-client.jar;../../../Desktop/jbullet-20101010/dist/jbullet.jar;../../../wonderland/modules/world/avatarbase/build/client/avatarbase-client.jar;../../../wonderland/modules/world/avatarbase/lib/avatars.jar;../../../wonderland/modules/tools/security-group/build/lib/client/securitygroups-client.jar;../../../wonderland/modules/foundation/security/build/lib/client/security-client.jar;../../../wonderland/core/ext/common/TimingFramework.jar;../../../wonderland/modules/foundation/animationbase/lib/trident.jar;lib/javacpp.jar;lib/javacv.jar;../../../wonderland/modules/tools/xapps-config/build/client/xapps-config-client.jar;../../stable/videoplayer/build/client/videoplayer-client.jar;../../../wonderland/modules/foundation/appbase/build/client/appbase-client-cell.jar;../../../wonderland/modules/foundation/appbase/build/client/appbase-client.jar;../../stable/pdfviewer/build/client/pdfviewer-client.jar;../../../wonderland/modules/tools/text-chat/build/client/textchat-client.jar;lib/jbullet.jar;..\..\..\wonderland\core\ext\common\vecmath.jar</classpath>
<source-level>1.5</source-level>
</compilation-unit>
<compilation-unit>
Reply all
Reply to author
Forward
0 new messages