Kaydet (Commit) 868252c5 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS scriptingf4 (1.2.4); FILE MERGED

2004/05/12 10:24:18 npower 1.2.4.2: #i28818# in testing for implementation of this issue, untitiled documents not handled very well. Reason code uses URL from XModel which however is blank for untitled documents. Now using the oid ( stringified )
Issue number:
Submitted by:
Reviewed by:
2004/04/29 14:09:23 dfoster 1.2.4.1: #i28384# - implement Macro Selector specification
Issue number:
Submitted by:
Reviewed by:
üst 0ee638e5
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: ScriptMetaData.java,v $ * $RCSfile: ScriptMetaData.java,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: hr $ $Date: 2004-05-10 17:41:45 $ * last change: $Author: rt $ $Date: 2004-05-19 08:22:23 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -104,9 +104,7 @@ public class ScriptMetaData extends ScriptEntry implements Cloneable { ...@@ -104,9 +104,7 @@ public class ScriptMetaData extends ScriptEntry implements Cloneable {
public ScriptMetaData( Parcel parent, ScriptEntry entry, public ScriptMetaData( Parcel parent, ScriptEntry entry,
String source ) String source )
{ {
super( entry.getLanguage(), entry.getLanguageName(), super( entry );
entry.getLogicalName(), entry.getLocation(),
entry.getLanguageProperties() );
this.parent = parent; this.parent = parent;
if ( source != null ) if ( source != null )
{ {
...@@ -456,8 +454,8 @@ public class ScriptMetaData extends ScriptEntry implements Cloneable { ...@@ -456,8 +454,8 @@ public class ScriptMetaData extends ScriptEntry implements Cloneable {
String parcelLocation = parent.getPathToParcel(); String parcelLocation = parent.getPathToParcel();
String sourceFileName = getLanguageName(); String sourceFileName = getLanguageName();
boolean result = false; boolean result = false;
boolean isDocument = getLocationPlaceHolder().equals( "document" );
if ( parcelLocation.startsWith( "file://" ) ) // its a document if ( isDocument ) // its a document
{ {
XStorageHelper xParcelDirStorageHelper = null; XStorageHelper xParcelDirStorageHelper = null;
boolean commitFlag = true; boolean commitFlag = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment