reduced output

git-svn-id: trunk@4149 -
This commit is contained in:
mattias 2003-05-12 14:47:45 +00:00
parent 4fbdd8f2b6
commit dff0b1e08e
5 changed files with 16 additions and 7 deletions

View File

@ -44,7 +44,7 @@
</UsageOptions>
<PublishOptions>
<Version Value="2"/>
<DestinationDirectory Value="$(TestDir)/publishedpackage/"/>
<DestinationDirectory Value="$(TestDir)/gtkopengl/"/>
<CommandAfter Value="/bin/tar -cz -C $(TestDir) -f /tmp/gtkopengl.tgz gtkopengl/"/>
<UseExcludeFileFilter Value="True"/>
</PublishOptions>

View File

@ -1330,8 +1330,10 @@ begin
xmlconfig.SetValue('ProjectOptions/General/TargetFileExt/Value'
,TargetFileExt);
xmlconfig.SetDeleteValue('ProjectOptions/General/Title/Value', Title,'');
fJumpHistory.DeleteInvalidPositions;
fJumpHistory.SaveToXMLConfig(xmlconfig,'ProjectOptions/');
if not (pfSaveOnlyProjectUnits in Flags) then begin
fJumpHistory.DeleteInvalidPositions;
fJumpHistory.SaveToXMLConfig(xmlconfig,'ProjectOptions/');
end;
SaveUnits;
@ -2661,6 +2663,9 @@ end.
{
$Log$
Revision 1.119 2003/05/12 14:47:45 mattias
reduced output
Revision 1.118 2003/05/12 13:11:34 mattias
implemented publish package

View File

@ -42,7 +42,10 @@ uses
type
TOnLoadSaveFilename = procedure(var Filename:string; Load:boolean) of object;
TProjectWriteFlag = (pwfDontSaveClosedUnits, pwfSaveOnlyProjectUnits);
TProjectWriteFlag = (
pwfDontSaveClosedUnits,
pwfSaveOnlyProjectUnits
);
TProjectWriteFlags = set of TProjectWriteFlag;
TNewUnitType = (

View File

@ -309,7 +309,8 @@ procedure TPublishModuleOptions.SaveToXMLConfig(XMLConfig: TXMLConfig;
const APath: string);
begin
XMLConfig.SetValue(APath+'Version/Value',PublishModulOptsVersion);
XMLConfig.SetValue(APath+'DestinationDirectory/Value',GetDefaultDestinationDir);
XMLConfig.SetDeleteValue(APath+'DestinationDirectory/Value',
DestinationDirectory,GetDefaultDestinationDir);
XMLConfig.SetDeleteValue(APath+'CommandAfter/Value',CommandAfter,'');
XMLConfig.SetDeleteValue(APath+'IgnoreBinaries/Value',IgnoreBinaries,true);
XMLConfig.SetDeleteValue(APath+'UseIncludeFileFilter/Value',

View File

@ -225,8 +225,8 @@ begin
// command after
List:=InputHistories.HistoryLists.GetList(hlPublishProjectCommandsAfter,true);
List.AppendEntry('/bin/tar czf project.tgz -C $(TestDir) publishedproject');
List.AppendEntry('/bin/tar czf package.tgz -C $(TestDir) publishedpackage');
List.AppendEntry('/bin/tar czf $(TestDir)/project.tgz -C $(TestDir) publishedproject');
List.AppendEntry('/bin/tar czf $(TestDir)/package.tgz -C $(TestDir) publishedpackage');
CommandAfterCombobox.Items.Assign(List);
// file filter