diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2004-03-15 16:04:13 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2004-03-15 16:04:13 +0000 |
commit | 9d605d9507bc7b8eefc2e0d9ce851da9d503ab86 (patch) | |
tree | 9d4a7f778c026c4ee850e6029bdb7bf8873613da | |
parent | c82129e07fa67e1aa91e94f600369cd97425f138 (diff) | |
download | ATCD-9d605d9507bc7b8eefc2e0d9ce851da9d503ab86.tar.gz |
ChangeLogTag: Mon Mar 15 10:01:43 2004 Chad Elliott <elliott_c@ociweb.com>
14 files changed, 153 insertions, 46 deletions
diff --git a/ChangeLog b/ChangeLog index a9bbbe3743d..6379faa5352 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +Mon Mar 15 10:01:43 2004 Chad Elliott <elliott_c@ociweb.com> + + * bin/MakeProjectCreator/modules/AutomakeWorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/BMakeWorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/CbxWorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/GNUACEWorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/HTMLWorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/MakeWorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/NMakeWorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/VA4WorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/VC6WorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/VC71WorkspaceCreator.pm: + * bin/MakeProjectCreator/modules/VC7WorkspaceCreator.pm: + + Added information at the top of the generated workspace for these + types. The information includes the CVS $Id keyword, the command + line options for MPC and a warning about directly editing the + file. + Mon Mar 15 08:31:05 2004 Chad Elliott <elliott_c@ociweb.com> * bin/MakeProjectCreator/modules/Driver.pm: diff --git a/bin/MakeProjectCreator/modules/AutomakeWorkspaceCreator.pm b/bin/MakeProjectCreator/modules/AutomakeWorkspaceCreator.pm index 33f833b9e70..cea74d62212 100644 --- a/bin/MakeProjectCreator/modules/AutomakeWorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/AutomakeWorkspaceCreator.pm @@ -40,13 +40,23 @@ sub pre_workspace { my($fh) = shift; my($crlf) = $self->crlf(); - print $fh "##$crlf" . - "## Process this file with automake$crlf" . - "##$crlf" . - "$crlf" . - "## The number in AUTOMAKE_OPTIONS is the minimum required version automake$crlf" . - "## needed to process this file.$crlf" . - "AUTOMAKE_OPTIONS = 1.4$crlf$crlf"; + print $fh '##', $crlf, + '## Process this file with automake', $crlf, + '##', $crlf, + $crlf, + '##', $crlf, + '## $Id$', $crlf, + '##', $crlf, + '## This file was generated by MPC. Any changes made directly to', $crlf, + '## this file will be lost the next time it is generated.', $crlf, + '##', $crlf, + '## MPC Command:', $crlf, + "## $0 @ARGV", $crlf, + '##', $crlf, + $crlf, + '## The number in AUTOMAKE_OPTIONS is the minimum required version automake', $crlf, + '## needed to process this file.', $crlf, + 'AUTOMAKE_OPTIONS = 1.4', $crlf, $crlf; } diff --git a/bin/MakeProjectCreator/modules/BMakeWorkspaceCreator.pm b/bin/MakeProjectCreator/modules/BMakeWorkspaceCreator.pm index 873bd0c4257..5e579001096 100644 --- a/bin/MakeProjectCreator/modules/BMakeWorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/BMakeWorkspaceCreator.pm @@ -47,13 +47,18 @@ sub pre_workspace { my($fh) = shift; my($crlf) = $self->crlf(); - print $fh "#----------------------------------------------------------------------------$crlf" . - "# Borland Workspace Makefile$crlf" . - "#$crlf" . - "# This file was automatically generated by MPC. Any changes made directly to$crlf" . - "# this file will be lost the next time it is generated.$crlf" . - "#$crlf" . - "#----------------------------------------------------------------------------$crlf" . + print $fh '#----------------------------------------------------------------------------', $crlf, + '# Borland Workspace Makefile', $crlf, + '#', $crlf, + '# $Id$', $crlf, + '#', $crlf, + '# This file was generated by MPC. Any changes made directly to', $crlf, + '# this file will be lost the next time it is generated.', $crlf, + '#', $crlf, + '# MPC Command:', $crlf, + "# $0 @ARGV", $crlf, + '#', $crlf, + '#----------------------------------------------------------------------------', $crlf, $crlf; } diff --git a/bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm b/bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm index ef86d9a103f..a0273be4f81 100644 --- a/bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm @@ -45,9 +45,17 @@ sub pre_workspace { my($fh) = shift; my($crlf) = $self->crlf(); - print $fh "#----------------------------------------------------------------------------$crlf" . - "# Borland Workspace$crlf" . - "#----------------------------------------------------------------------------$crlf" . + print $fh '#----------------------------------------------------------------------------', $crlf, + '# Borland Workspace', $crlf, + '#', $crlf, + '# $Id$', $crlf, + '#', $crlf, + '# This file was generated by MPC. Any changes made directly to', $crlf, + '# this file will be lost the next time it is generated.', $crlf, + '#', $crlf, + '# MPC Command:', $crlf, + "# $0 @ARGV", $crlf, + '#----------------------------------------------------------------------------', $crlf, $crlf; } diff --git a/bin/MakeProjectCreator/modules/CbxWorkspaceCreator.pm b/bin/MakeProjectCreator/modules/CbxWorkspaceCreator.pm index c0d5621aa95..fbee58ae027 100644 --- a/bin/MakeProjectCreator/modules/CbxWorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/CbxWorkspaceCreator.pm @@ -41,8 +41,10 @@ sub pre_workspace { my($fh) = shift; my($crlf) = $self->crlf(); - print $fh "<?xml version=\"1.0\" encoding=\"UTF-8\"?>$crlf" . - "<!--Project Group-->$crlf"; + print $fh '<?xml version="1.0" encoding="UTF-8"?>', $crlf, + '<!-- $Id$ -->', $crlf, + '<!-- MPC Command -->', $crlf, + "<!-- $0 @ARGV -->", $crlf; } @@ -54,7 +56,8 @@ sub write_comps { my(@list) = $self->sort_dependencies($projects, $pjs); my($crlf) = $self->crlf(); - print $fh "<projectgroup>$crlf"; + print $fh '<!--Project Group-->', $crlf, + '<projectgroup>', $crlf; foreach my $project (@list) { print $fh " <project path=\"$project\"/>$crlf"; } diff --git a/bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm b/bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm index e374de0132e..f0d49eba239 100644 --- a/bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm @@ -35,8 +35,15 @@ sub pre_workspace { my($fh) = shift; my($crlf) = $self->crlf(); - print $fh "Microsoft eMbedded Visual Tools Workspace File, Format Version 3.00$crlf" . - "# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!$crlf" . + print $fh 'Microsoft eMbedded Visual Tools Workspace File, Format Version 3.00', $crlf, + '#', $crlf, + '# $Id$', $crlf, + '#', $crlf, + '# This file was generated by MPC. Any changes made directly to', $crlf, + '# this file will be lost the next time it is generated.', $crlf, + '#', $crlf, + '# MPC Command:', $crlf, + "# $0 @ARGV", $crlf, $crlf; } diff --git a/bin/MakeProjectCreator/modules/GNUACEWorkspaceCreator.pm b/bin/MakeProjectCreator/modules/GNUACEWorkspaceCreator.pm index fe84dd8f4cb..ba78c9f9f7b 100644 --- a/bin/MakeProjectCreator/modules/GNUACEWorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/GNUACEWorkspaceCreator.pm @@ -50,12 +50,13 @@ sub pre_workspace { '#-------------------------------------------------------------------------', $crlf, '# GNU ACE Workspace', $crlf, '#', $crlf, - '# @file GNUmakefile', $crlf, + '# $Id$', $crlf, '#', $crlf, - '# $Id $', $crlf, + '# This file was generated by MPC. Any changes made directly to', $crlf, + '# this file will be lost the next time it is generated.', $crlf, '#', $crlf, - '# This file was automatically generated by MPC. Any changes made ', $crlf, - '# directly to this file will be lost the next time it is generated.', $crlf, + '# MPC Command:', $crlf, + "# $0 @ARGV", $crlf, '#', $crlf, '#-------------------------------------------------------------------------', $crlf, 'MAKEFILE = GNUmakefile', $crlf; diff --git a/bin/MakeProjectCreator/modules/HTMLWorkspaceCreator.pm b/bin/MakeProjectCreator/modules/HTMLWorkspaceCreator.pm index ae234a5a7b9..62b0f574f6f 100644 --- a/bin/MakeProjectCreator/modules/HTMLWorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/HTMLWorkspaceCreator.pm @@ -34,15 +34,18 @@ sub pre_workspace { my($fh) = shift; my($crlf) = $self->crlf(); - print $fh "<html>$crlf" . - "<head>$crlf" . - " <style>$crlf" . - " a {font: 12pt bold verdana, lucida; color: white; padding: 3px;}$crlf" . - " td {font: 12pt bold verdana, lucida; color: white; padding: 3px; background-color: cadetblue;}$crlf" . - " thead tr td {font: 18pt \"trebuchet ms\", helvetica; color: white; padding: 3px; background-color: teal;}$crlf" . - " </style>$crlf" . - "</head>$crlf" . - "<body>$crlf"; + print $fh '<html>', $crlf, + '<!-- $Id$ -->', $crlf, + '<!-- MPC Command: -->', $crlf, + "<!-- $0@ARGV -->", $crlf, + '<head>', $crlf, + ' <style>', $crlf, + ' a {font: 12pt bold verdana, lucida; color: white; padding: 3px;}', $crlf, + ' td {font: 12pt bold verdana, lucida; color: white; padding: 3px; background-color: cadetblue;}', $crlf, + ' thead tr td {font: 18pt "trebuchet ms", helvetica; color: white; padding: 3px; background-color: teal;}', $crlf, + ' </style>', $crlf, + '</head>', $crlf, + '<body>', $crlf; } diff --git a/bin/MakeProjectCreator/modules/MakeWorkspaceCreator.pm b/bin/MakeProjectCreator/modules/MakeWorkspaceCreator.pm index bfb519d16b1..d835444c440 100644 --- a/bin/MakeProjectCreator/modules/MakeWorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/MakeWorkspaceCreator.pm @@ -46,9 +46,17 @@ sub pre_workspace { my($fh) = shift; my($crlf) = $self->crlf(); - print $fh "#----------------------------------------------------------------------------$crlf" . - "# Make Workspace$crlf" . - "#----------------------------------------------------------------------------$crlf" . + print $fh '#----------------------------------------------------------------------------', $crlf, + '# Make Workspace', $crlf, + '#', $crlf, + '# $Id$', $crlf, + '#', $crlf, + '# This file was generated by MPC. Any changes made directly to', $crlf, + '# this file will be lost the next time it is generated.', $crlf, + '#', $crlf, + '# MPC Command:', $crlf, + "# $0 @ARGV", $crlf, + '#----------------------------------------------------------------------------', $crlf, $crlf; } diff --git a/bin/MakeProjectCreator/modules/NMakeWorkspaceCreator.pm b/bin/MakeProjectCreator/modules/NMakeWorkspaceCreator.pm index 21f2819ee97..938c03ce976 100644 --- a/bin/MakeProjectCreator/modules/NMakeWorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/NMakeWorkspaceCreator.pm @@ -53,7 +53,16 @@ sub pre_workspace { my($fh) = shift; my($crlf) = $self->crlf(); - print $fh "# Microsoft Developer Studio Generated NMAKE File$crlf$crlf"; + print $fh '# Microsoft Developer Studio Generated NMAKE File', $crlf, + '#', $crlf, + '# $Id$', $crlf, + '#', $crlf, + '# This file was generated by MPC. Any changes made directly to', $crlf, + '# this file will be lost the next time it is generated.', $crlf, + '#', $crlf, + '# MPC Command:', $crlf, + "# $0 @ARGV", $crlf, + $crlf; } diff --git a/bin/MakeProjectCreator/modules/VA4WorkspaceCreator.pm b/bin/MakeProjectCreator/modules/VA4WorkspaceCreator.pm index bc444485664..09785638fe6 100644 --- a/bin/MakeProjectCreator/modules/VA4WorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/VA4WorkspaceCreator.pm @@ -41,7 +41,16 @@ sub pre_workspace { my($fh) = shift; my($crlf) = $self->crlf(); - print $fh "// Visual Age C++ 4 workspace file$crlf$crlf"; + print $fh '// Visual Age C++ 4 workspace file', $crlf, + '//', $crlf, + '// $Id$', $crlf, + '//', $crlf, + '// This file was generated by MPC. Any changes made directly to', $crlf, + '// this file will be lost the next time it is generated.', $crlf, + '//', $crlf, + '// MPC Command:', $crlf, + "// $0 @ARGV", $crlf, + $crlf; } diff --git a/bin/MakeProjectCreator/modules/VC6WorkspaceCreator.pm b/bin/MakeProjectCreator/modules/VC6WorkspaceCreator.pm index b80c2675703..f4a4d67b5ba 100644 --- a/bin/MakeProjectCreator/modules/VC6WorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/VC6WorkspaceCreator.pm @@ -47,8 +47,15 @@ sub pre_workspace { my($fh) = shift; my($crlf) = $self->crlf(); - print $fh "Microsoft Developer Studio Workspace File, Format Version 6.00$crlf" . - "# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!$crlf" . + print $fh 'Microsoft Developer Studio Workspace File, Format Version 6.00', $crlf, + '#', $crlf, + '# $Id$', $crlf, + '#', $crlf, + '# This file was generated by MPC. Any changes made directly to', $crlf, + '# this file will be lost the next time it is generated.', $crlf, + '#', $crlf, + '# MPC Command:', $crlf, + "# $0 @ARGV", $crlf, $crlf; } diff --git a/bin/MakeProjectCreator/modules/VC71WorkspaceCreator.pm b/bin/MakeProjectCreator/modules/VC71WorkspaceCreator.pm index 1362e756fe2..961bab8a005 100644 --- a/bin/MakeProjectCreator/modules/VC71WorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/VC71WorkspaceCreator.pm @@ -26,9 +26,17 @@ use vars qw(@ISA); sub pre_workspace { my($self) = shift; my($fh) = shift; + my($crlf) = $self->crlf(); - print $fh "Microsoft Visual Studio Solution File, Format Version 8.00" . - $self->crlf(); + print $fh 'Microsoft Visual Studio Solution File, Format Version 8.00', $crlf, + '#', $crlf, + '# $Id$', $crlf, + '#', $crlf, + '# This file was generated by MPC. Any changes made directly to', $crlf, + '# this file will be lost the next time it is generated.', $crlf, + '#', $crlf, + '# MPC Command:', $crlf, + "# $0 @ARGV", $crlf; } diff --git a/bin/MakeProjectCreator/modules/VC7WorkspaceCreator.pm b/bin/MakeProjectCreator/modules/VC7WorkspaceCreator.pm index 6dbd493d18e..fed196ac1a1 100644 --- a/bin/MakeProjectCreator/modules/VC7WorkspaceCreator.pm +++ b/bin/MakeProjectCreator/modules/VC7WorkspaceCreator.pm @@ -44,9 +44,17 @@ sub workspace_file_name { sub pre_workspace { my($self) = shift; my($fh) = shift; + my($crlf) = $self->crlf(); - print $fh "Microsoft Visual Studio Solution File, Format Version 7.00" . - $self->crlf(); + print $fh 'Microsoft Visual Studio Solution File, Format Version 7.00', $crlf, + '#', $crlf, + '# $Id$', $crlf, + '#', $crlf, + '# This file was generated by MPC. Any changes made directly to', $crlf, + '# this file will be lost the next time it is generated.', $crlf, + '#', $crlf, + '# MPC Command:', $crlf, + "# $0 @ARGV", $crlf; } |