• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
To make sure, I rm'd tools/build.pl and svn up but I still got this nonsensewhen I tried to make a named target

[anton@Server tools]$ perl  ./build.pl

You are about to build TWiki. If you are not building a release, or
this release is just for testing purposes, you can leave it unnamed.
In this case any packages generated will be called "TWiki". Alternatively
you can provide a name (e.g. 4.0.0-beta6).

If you provide a name, TWiki.pm will be automatically edited to insert the
new name of the release. The updated TWiki.pm will be checked in before
the build starts.

The release *must* be named according to the standard scheme i.e
major.minor.patch[-qualifier]
where -qualifier is optional.

This will be translated to appropriate package and topic names.

(The package name can optionally be passed in a *second* parameter
to the script e.g. perl build.pl release 4.6.5)


Do you want to name this release? [y/n] y
Use of uninitialized value in pattern match (m//) at ./build.pl line 67,
        <STDIN> line 1 (#1)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.

    To help you figure out what was undefined, perl tells you what operation
    you used the undefined value in.  Note, however, that perl optimizes your
    program and the operation displayed in the warning may not necessarily
    appear literally in your program.  For example, "that $foo" is
    usually optimized into "that " . $foo, and the warning will refer to
    the concatenation (.) operator, even though there is no . in your
    program.

Enter name of this release: :
I look at the code and where its prompting for a "y/n" it seems to want the actual "major.minor.pathch". So it shouldn't be asking for a yes/no response. Therefore Build::ask() shouldn't be used.


This is working fine, so assume it was fixed.

CC

ItemTemplate
Summary tools/build.pl has problem with named target
ReportedBy TWiki:Main.AntonAylward
Codebase

SVN Range Thu, 02 Feb 2006 build 8675
AppliesTo Engine
Component BuildScripts
Priority Low
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease major
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-02-04 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback