Update of /cvsroot/metamorphosis/krysalis-viprom/src/java/core/org/krysalis/viprom
In directory sc8-pr-cvs1:/tmp/cvs-serv2746/src/java/core/org/krysalis/viprom
Modified Files:
StandardQueries.java VirtualProjectModel.java
Log Message:
Tweaks
Index: StandardQueries.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-viprom/src/java/core/org/krysalis/viprom/StandardQueries.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** StandardQueries.java 28 Oct 2003 20:16:02 -0000 1.1
--- StandardQueries.java 28 Oct 2003 23:06:17 -0000 1.2
***************
*** 71,79 ****
l_queries = new HashMap();
! // l_gump.put("project.url", "/module/project[@name=$project.name]/url");
! l_queries.put(NamedProperties.PROJECT_URL, "/module/url/@href");
l_queries.put(
NamedProperties.PROJECT_PACKAGE,
! "/module/project[@name=$project.name]/package");
l_queries.put(
--- 71,80 ----
l_queries = new HashMap();
! l_queries.put(NamedProperties.PROJECT_NAME, "/project/@name");
!
! l_queries.put(NamedProperties.PROJECT_URL, "/project[@name=$project.name]/url");
l_queries.put(
NamedProperties.PROJECT_PACKAGE,
! "/project[@name=$project.name]/package");
l_queries.put(
Index: VirtualProjectModel.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-viprom/src/java/core/org/krysalis/viprom/VirtualProjectModel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** VirtualProjectModel.java 28 Oct 2003 20:16:02 -0000 1.2
--- VirtualProjectModel.java 28 Oct 2003 23:06:17 -0000 1.3
***************
*** 93,96 ****
--- 93,97 ----
m_model = model;
+ // Metadata cooking into ViPrOM form...
m_cooked =
JXPathContext.newContext(
***************
*** 232,235 ****
--- 233,237 ----
m_properties.setProperty(varName, value.toString());
}
+
public Object getVariable(String varName) {
Object value = m_properties.getProperty(varName);
***************
*** 242,245 ****
--- 244,248 ----
return value;
}
+
public boolean isDeclaredVariable(String varName) {
boolean declared =
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.