issue-#129 command for generating a compile list

Merged to the master branch
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#129 command for generating a compile list

Post by Josef Templ »

luowy wrote:...,but it maybe introduce some uncertain effect
without being sufficiently used and tested....

I much like these tools,they save alot of time and greatly reduce trivial work,more such tool more close to out-of-box IDE.
but currently the release of 1.7 is the most important thing for all of us,we canot go beyond too much time limit,
so,I suggest make this tool in a separate module for migration using at first,then improve it after the release of 1.7
with feedbacks from user, judge it until it's statable.

luowy
There cannot be any unwanted side-effects from introducing the new commands MakeList and CompileSubs because there are no changes in the existing system. There is zero risk for the existing system.

The new commands have been thoroughly tested by me and now even care for exotic cases such as recursive imports and name differences between files and modules.

I believe that most will agree that a tool that is helpful for supporting the migration of 1.6. to 1.7 should be
available when that migration appears, and not be scheduled for a later time when the migration has already been
done without that tool.

Overall, I think, if we recommend our own migration tool we also show that we care about a
positive migration experience of our users and our own tool is much simpler to
use and produces less TRAPs than the ypkDevTool, which was the previously considered alternative.

- Josef
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: issue-#129 command for generating a compile list

Post by Ivan Denisov »

I am ready to sacrifice the simplicity of DevCompiler interface for sending the users some positive sign that we try to make BlackBox more userfriendly :)
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#129 command for generating a compile list

Post by Josef Templ »

Doug, I have added the special symbols + and * to MakeList and CompileSubs.
+ is for all extensions
* is for all subsystems.

Please note:
For a Subsystem named Xxx, it is assumed that the
subsystem directory is spelled in exactly the same way (not XXX, for example).
The internal working is case sensitive like for a Linux file system.
Under Windows it would be possible to use any capitalization for directory and file names
but this would complicate the commands and is currently ignored.

- Josef
User avatar
DGDanforth
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA
Contact:

Re: issue-#129 command for generating a compile list

Post by DGDanforth »

Josef Templ wrote:Doug, I have added the special symbols + and * to MakeList and CompileSubs.
+ is for all extensions
* is for all subsystems.

Please note:
For a Subsystem named Xxx, it is assumed that the
subsystem directory is spelled in exactly the same way (not XXX, for example).
The internal working is case sensitive like for a Linux file system.
Under Windows it would be possible to use any capitalization for directory and file names
but this would complicate the commands and is currently ignored.

- Josef
Josef,
I get the feeling we are talking at cross purposes.
I can't test what you have written since I don't have access to a BlackBox system. I have been told Wednesday is an estimated time for getting my system back.
Doug
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#129 command for generating a compile list

Post by Josef Templ »

DGDanforth wrote: Josef,
I get the feeling we are talking at cross purposes.
I can't test what you have written since I don't have access to a BlackBox system. I have been told Wednesday is an estimated time for getting my system back.
Doug
We can wait until Wednesday, no problem. Also luowy wanted to have some more time.

To summarize the current state:
DevCompiler.MakeList + makes a compile list for all subsystems not part of the standard distribution.
DevCompiler.MakeList * makes a compile list for all subsystems that are found.
Same for CompileSubs. These special symbols are extensions to the existing features that fit well into the current concept.
Just a small add-on to the user interface part of the commands.

What did I misunderstand?

- Josef
luowy
Posts: 234
Joined: Mon Oct 20, 2014 12:52 pm

Re: issue-#129 command for generating a compile list

Post by luowy »

@Josef
dont wait me again, I have no time check your code recently,pass this vote and release 1.7 is more important for the center.
User avatar
Josef Templ
Posts: 2047
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#129 command for generating a compile list

Post by Josef Templ »

Some minor updates:
Directories Sym, Code, and Docu skipped when using + or *.

View title with ... if truncated.

SqlObxDriv.odc is an uncompilable template text. I moved some text in front of the keyword MODULE so that
MakeList/CompileSubs skips this file. Now * can be used to recompile the complete base system successfully.

See the diffs at http://redmine.blackboxframework.org/pr ... 39dcb211fd.

- Josef
Post Reply