[virtualcommons-svn] SF.net SVN: virtualcommons:[122] mentalmodels/trunk/src/main
Status: Beta
Brought to you by:
alllee
From: <al...@us...> - 2009-04-28 19:49:16
|
Revision: 122 http://virtualcommons.svn.sourceforge.net/virtualcommons/?rev=122&view=rev Author: alllee Date: 2009-04-28 19:49:12 +0000 (Tue, 28 Apr 2009) Log Message: ----------- organized imports and other minor refactoring / renaming / xmllint / hygiene. Removing FisheryExperiment.swf from SVN since it's a generated file and doesn't belong in the repository. Modified Paths: -------------- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Block.java mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Categorical.java mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Communication.java mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Forecasting.java mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/GameConfig.java mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Module.java mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Question.java mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/QuestionGroup.java mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/RoundConfig.java mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Student.java mentalmodels/trunk/src/main/java/edu/asu/commons/mme/service/Feed.java mentalmodels/trunk/src/main/java/edu/asu/commons/mme/service/ModuleService.java mentalmodels/trunk/src/main/webapp/WEB-INF/flex/services-config.xml Added Paths: ----------- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/PersistableSequence.java Removed Paths: ------------- mentalmodels/trunk/src/main/webapp/FisheryExperiment.swf Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Block.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Block.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Block.java 2009-04-28 19:49:12 UTC (rev 122) @@ -11,6 +11,7 @@ import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.OneToMany; +import javax.persistence.OrderBy; import javax.persistence.Table; @@ -41,7 +42,8 @@ @JoinColumn(nullable=false) private Module module; - @OneToMany + @OneToMany(fetch=FetchType.EAGER) + @OrderBy("sequenceNo") private List<QuestionGroup> questionGroup; Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Categorical.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Categorical.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Categorical.java 2009-04-28 19:49:12 UTC (rev 122) @@ -2,29 +2,21 @@ import java.io.Serializable; -import java.util.List; import java.util.Map; import javax.persistence.Entity; import javax.persistence.Table; import org.hibernate.annotations.CollectionOfElements; -import org.hibernate.annotations.IndexColumn; @Entity @Table(name="categorical") -public class Categorical extends Question implements Serializable{ +public class Categorical extends Question implements Serializable { -/** - * - */ - private static final long serialVersionUID = 1L; -/* @CollectionOfElements - @IndexColumn(name = "choices", base=1, nullable=false) -*/ - + private static final long serialVersionUID = 5399081841291536902L; + @CollectionOfElements @org.hibernate.annotations.MapKey private Map<String,java.util.ArrayList<String>> choices; @@ -37,16 +29,5 @@ return choices; } - /*public void setChoices(List<String> choices) { - this.choices = choices; - } - public List<String> getChoices() { - return choices; - } -*/ - - - - } Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Communication.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Communication.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Communication.java 2009-04-28 19:49:12 UTC (rev 122) @@ -3,8 +3,7 @@ import java.io.Serializable; import java.sql.Timestamp; -import java.util.Date; -import javax.persistence.Column; + import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @@ -12,8 +11,6 @@ import javax.persistence.Lob; import javax.persistence.ManyToOne; import javax.persistence.Table; -import javax.persistence.Temporal; -import javax.persistence.TemporalType; Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Forecasting.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Forecasting.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Forecasting.java 2009-04-28 19:49:12 UTC (rev 122) @@ -1,20 +1,20 @@ package edu.asu.commons.mme.entity; + import java.io.Serializable; +import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; -import javax.persistence.Column; @Entity @Table(name="forecasting") -public class Forecasting extends Question implements Serializable{ - /** - * - */ - private static final long serialVersionUID = 1L; +public class Forecasting extends Question implements Serializable { + + private static final long serialVersionUID = -1130445773406872694L; + @Column(name="day_no",nullable=false) private Integer dayNo; Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/GameConfig.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/GameConfig.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/GameConfig.java 2009-04-28 19:49:12 UTC (rev 122) @@ -2,7 +2,6 @@ import java.io.Serializable; import java.sql.Timestamp; -import java.util.ArrayList; import java.util.List; import javax.persistence.Column; Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Module.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Module.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Module.java 2009-04-28 19:49:12 UTC (rev 122) @@ -1,28 +1,24 @@ package edu.asu.commons.mme.entity; + import java.io.Serializable; -import java.util.ArrayList; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; -import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToMany; +import javax.persistence.OrderBy; import javax.persistence.Table; @Entity @Table(name="module") - public class Module implements Serializable { - - /** - * - */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = -1523640426012601246L; + @Id @GeneratedValue private Long id; @@ -36,8 +32,9 @@ @Column(nullable=false) private Integer duration; - @OneToMany - private List<Block> block= new ArrayList<Block>(); + @OneToMany() + @OrderBy("sequenceNo") + private List<Block> blocks; public void setId(Long id) { this.id = id; @@ -63,16 +60,15 @@ return description; } - - - public void setBlock(List<Block> block) { - this.block = block; + public void setBlocks(List<Block> blocks) { + this.blocks = blocks; } - public List<Block> getBlock() { - return block; + public List<Block> getBlocks() { + return blocks; } + public void setDuration(Integer duration) { this.duration = duration; } Added: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/PersistableSequence.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/PersistableSequence.java (rev 0) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/PersistableSequence.java 2009-04-28 19:49:12 UTC (rev 122) @@ -0,0 +1,35 @@ +package edu.asu.commons.mme.entity; + +import javax.persistence.Column; +import javax.persistence.MappedSuperclass; + +/** + * $Id$ + * + * + * @author <a href='mailto:All...@as...'>Allen Lee</a> + * @version $Rev$ + */ +@MappedSuperclass +public abstract class PersistableSequence implements Comparable<PersistableSequence> { + + @Column(name="sequence_number") + private Integer sequenceNumber; + + public Integer getSequenceNumber() { + return sequenceNumber; + } + + public void setSequenceNumber(Integer sequenceNumber) { + this.sequenceNumber = sequenceNumber; + } + + public int compareTo(PersistableSequence persistableSequence) { + if (persistableSequence == null) { + throw new NullPointerException("comparing to null persistable sequence"); + } + return sequenceNumber.compareTo(persistableSequence.sequenceNumber); + } + + +} Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Question.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Question.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Question.java 2009-04-28 19:49:12 UTC (rev 122) @@ -1,8 +1,7 @@ package edu.asu.commons.mme.entity; - + import java.io.Serializable; -import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; @@ -13,18 +12,15 @@ import javax.persistence.JoinColumn; import javax.persistence.Lob; import javax.persistence.ManyToOne; -import javax.persistence.OneToMany; import javax.persistence.Table; @Entity @Table(name="question") @Inheritance(strategy = InheritanceType.JOINED) -public class Question implements Serializable { - /** - * - */ - private static final long serialVersionUID = 1L; +public class Question implements Serializable, Comparable<Question> { + private static final long serialVersionUID = -6745280629134903292L; + @Id @GeneratedValue private Long id; @@ -57,7 +53,6 @@ public Long getId() { return id; } - public void setQuestion(String question) { this.question = question; @@ -106,6 +101,13 @@ public QuestionGroup getQuestionGroup() { return questionGroup; } + + public int compareTo(Question question) { + if (question == null) { + throw new NullPointerException("compareTo invoked on a null question."); + } + return sequenceNo.compareTo(question.sequenceNo); + } Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/QuestionGroup.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/QuestionGroup.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/QuestionGroup.java 2009-04-28 19:49:12 UTC (rev 122) @@ -3,20 +3,26 @@ import java.io.Serializable; import java.util.Set; +import java.util.SortedSet; import javax.persistence.Column; import javax.persistence.Entity; +import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.Lob; import javax.persistence.ManyToMany; import javax.persistence.ManyToOne; +import javax.persistence.OneToMany; +import javax.persistence.OrderBy; import javax.persistence.Table; +import org.hibernate.annotations.Sort; + /* - * QuestionGroup table stiores not only questions but also the other items and their corresponding description + * QuestionGroup represents one single page within a Block. If there are no Questions */ @Entity @Table(name="question_group") @@ -31,6 +37,10 @@ @GeneratedValue private Long id; + @OneToMany(fetch=FetchType.EAGER) + @OrderBy("sequenceNo") + @Sort() + private SortedSet<Question> questions; @ManyToMany(mappedBy = "questionGroup") @JoinColumn(nullable=false) @@ -91,17 +101,17 @@ public String getDescription() { return description; } -/* public void setTime(Float time) { - this.maxtime = time; - } - public Float getTime() { - return maxtime; - }*/ public void setBlock(Block block) { this.block = block; } public Block getBlock() { return block; } + public SortedSet<Question> getQuestions() { + return questions; + } + public void setQuestions(SortedSet<Question> questions) { + this.questions = questions; + } } Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/RoundConfig.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/RoundConfig.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/RoundConfig.java 2009-04-28 19:49:12 UTC (rev 122) @@ -6,15 +6,11 @@ import javax.persistence.CascadeType; import javax.persistence.Column; -import javax.persistence.JoinColumn; - -import javax.persistence.Column; - - import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; +import javax.persistence.JoinColumn; import javax.persistence.ManyToMany; import javax.persistence.ManyToOne; import javax.persistence.Table; Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Student.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Student.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/entity/Student.java 2009-04-28 19:49:12 UTC (rev 122) @@ -32,15 +32,15 @@ @Column(name="student_no") private Integer studentNo; - @Column(name="year_birth",length = 4) + @Column(name="birth_year") private Integer birthYear; private String major; private String semester; - @Enumerated(EnumType.STRING) - private Gender gender; + @Enumerated(EnumType.ORDINAL) + private Gender gender; public Long getId() { return id; Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/service/Feed.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/service/Feed.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/service/Feed.java 2009-04-28 19:49:12 UTC (rev 122) @@ -1,14 +1,9 @@ package edu.asu.commons.mme.service; //package edu.asu.commons.mme.service; -import java.util.*; - import flex.messaging.MessageBroker; import flex.messaging.messages.AsyncMessage; -import flex.messaging.messages.Message; import flex.messaging.util.UUIDUtils; -import flex.messaging.services.MessageService; -import flex.messaging.services.ServiceAdapter; public class Feed{ Modified: mentalmodels/trunk/src/main/java/edu/asu/commons/mme/service/ModuleService.java =================================================================== --- mentalmodels/trunk/src/main/java/edu/asu/commons/mme/service/ModuleService.java 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/java/edu/asu/commons/mme/service/ModuleService.java 2009-04-28 19:49:12 UTC (rev 122) @@ -22,7 +22,7 @@ System.out.println("Module object is " + module.getDescription()); - List<Block> listBlock = module.getBlock(); + List<Block> listBlock = module.getBlocks(); Iterator<Block> iterateBlock = listBlock.iterator(); while(iterateBlock.hasNext()) { @@ -39,7 +39,7 @@ } - System.out.println("Block description iss " + module.getBlock().get(0).getDescription()); + System.out.println("Block description iss " + module.getBlocks().get(0).getDescription()); return module; Deleted: mentalmodels/trunk/src/main/webapp/FisheryExperiment.swf =================================================================== (Binary files differ) Modified: mentalmodels/trunk/src/main/webapp/WEB-INF/flex/services-config.xml =================================================================== --- mentalmodels/trunk/src/main/webapp/WEB-INF/flex/services-config.xml 2009-04-28 19:36:09 UTC (rev 121) +++ mentalmodels/trunk/src/main/webapp/WEB-INF/flex/services-config.xml 2009-04-28 19:49:12 UTC (rev 122) @@ -1,116 +1,103 @@ -<?xml version="1.0" encoding="UTF-8"?> -<services-config> - - <services> - <service-include file-path="remoting-config.xml" /> - <service-include file-path="proxy-config.xml" /> - <service-include file-path="messaging-config.xml" /> - - <default-channels> - <channel ref="my-amf"/> - </default-channels> - - </services> - - - <security> - <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/> - <!-- Uncomment the correct app server - <login-command class="flex.messaging.security.TomcatLoginCommand" server="JBoss"> - <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/> - <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/> - <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/> - --> - - <!-- - <security-constraint id="basic-read-access"> - <auth-method>Basic</auth-method> - <roles> - <role>guests</role> - <role>accountants</role> - <role>employees</role> - <role>managers</role> - </roles> - </security-constraint> - --> - </security> - - <channels> - -<channel-definition id="my-streaming-amf" class="mx.messaging.channels.StreamingAMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/msgbroker/streamingamf" class="flex.messaging.endpoints.StreamingAMFEndpoint"/> - <properties> - <idle-timeout-minutes>0</idle-timeout-minutes> - <max-streaming-clients>10</max-streaming-clients> - <server-to-client-heartbeat-millis>5000</server-to-client-heartbeat-millis> - <user-agent-settings> <user-agent match-on="MSIE" kickstart-bytes="2048" max-streaming-connections-per-session="3"/> - <user-agent match-on="Firefox" kickstart-bytes="2048" max-streaming-connections-per-session="3"/> </user-agent-settings> - </properties> - </channel-definition> - - <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> - </channel-definition> - - <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"> - <endpoint url="https://{server.name}:{server.port}/{context.root}/msgbroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/> - <properties> - <add-no-cache-headers>false</add-no-cache-headers> - </properties> - </channel-definition> - - <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/msgbroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/> - <properties> - <polling-enabled>true</polling-enabled> - <polling-interval-seconds>4</polling-interval-seconds> - </properties> - </channel-definition> - - <!-- - <channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/> - </channel-definition> - - <channel-definition id="my-secure-http" class="mx.messaging.channels.SecureHTTPChannel"> - <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/> - <properties> - <add-no-cache-headers>false</add-no-cache-headers> - </properties> - </channel-definition> - --> - </channels> - - <logging> - <target class="flex.messaging.log.ConsoleTarget" level="Error"> - <properties> - <prefix>[BlazeDS] </prefix> - <includeDate>false</includeDate> - <includeTime>false</includeTime> - <includeLevel>false</includeLevel> - <includeCategory>false</includeCategory> - </properties> - <filters> - <pattern>Endpoint.*</pattern> - <pattern>Service.*</pattern> - <pattern>Configuration</pattern> - </filters> - </target> - </logging> - - <system> - <redeploy> - <enabled>false</enabled> - <!-- - <watch-interval>20</watch-interval> - <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file> - <touch-file>{context.root}/WEB-INF/web.xml</touch-file> - --> - </redeploy> - </system> - -</services-config> +<?xml version="1.0" encoding="UTF-8"?> +<services-config> + <services> + <service-include file-path="remoting-config.xml"/> + <service-include file-path="proxy-config.xml"/> + <service-include file-path="messaging-config.xml"/> + <default-channels> + <channel ref="my-amf"/> + </default-channels> + </services> + <security> + <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/> + <!-- Uncomment the correct app server + <login-command class="flex.messaging.security.TomcatLoginCommand" server="JBoss"> + <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/> + <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/> + <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/> + --> + <!-- + <security-constraint id="basic-read-access"> + <auth-method>Basic</auth-method> + <roles> + <role>guests</role> + <role>accountants</role> + <role>employees</role> + <role>managers</role> + </roles> + </security-constraint> + --> + </security> + <channels> + <channel-definition id="my-streaming-amf" class="mx.messaging.channels.StreamingAMFChannel"> + <endpoint url="http://{server.name}:{server.port}/{context.root}/msgbroker/streamingamf" class="flex.messaging.endpoints.StreamingAMFEndpoint"/> + <properties> + <idle-timeout-minutes>0</idle-timeout-minutes> + <max-streaming-clients>10</max-streaming-clients> + <server-to-client-heartbeat-millis>5000</server-to-client-heartbeat-millis> + <user-agent-settings> + <user-agent match-on="MSIE" kickstart-bytes="2048" max-streaming-connections-per-session="3"/> + <user-agent match-on="Firefox" kickstart-bytes="2048" max-streaming-connections-per-session="3"/> + </user-agent-settings> + </properties> + </channel-definition> + <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> + <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> + </channel-definition> + <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"> + <endpoint url="https://{server.name}:{server.port}/{context.root}/msgbroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/> + <properties> + <add-no-cache-headers>false</add-no-cache-headers> + </properties> + </channel-definition> + <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"> + <endpoint url="http://{server.name}:{server.port}/{context.root}/msgbroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/> + <properties> + <polling-enabled>true</polling-enabled> + <polling-interval-seconds>4</polling-interval-seconds> + </properties> + </channel-definition> + <!-- + <channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel"> + <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/> + </channel-definition> + + <channel-definition id="my-secure-http" class="mx.messaging.channels.SecureHTTPChannel"> + <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/> + <properties> + <add-no-cache-headers>false</add-no-cache-headers> + </properties> + </channel-definition> + --> + </channels> + <logging> + <target class="flex.messaging.log.ConsoleTarget" level="Error"> + <properties> + <prefix>[BlazeDS] </prefix> + <includeDate>false</includeDate> + <includeTime>false</includeTime> + <includeLevel>false</includeLevel> + <includeCategory>false</includeCategory> + </properties> + <filters> + <pattern>Endpoint.*</pattern> + <pattern>Service.*</pattern> + <pattern>Configuration</pattern> + </filters> + </target> + </logging> + <system> + <redeploy> + <enabled>false</enabled> + <!-- + <watch-interval>20</watch-interval> + <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file> + <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file> + <touch-file>{context.root}/WEB-INF/web.xml</touch-file> + --> + </redeploy> + </system> +</services-config> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |