Commit Graph

2959 Commits

Author SHA1 Message Date
David Glasser
3faf1aa21e make test more convincing 2014-10-07 18:26:21 -07:00
David Glasser
5590d194c5 debug-only flag only affects bundler, not compiler 2014-10-07 18:26:21 -07:00
David Glasser
9bf291c8a0 Read and write debugOnly flag in isopack 2014-10-07 18:26:21 -07:00
David Glasser
f78184c497 Disallow plugins and imply in debugOnly packages 2014-10-07 18:26:21 -07:00
Slava Kim
8d2fd23005 Hide the splash screen only after the plugins and page is loaded 2014-10-07 17:29:41 -07:00
Justin SB
03a9c69451 Be much more liberal in detecting the JDK
Even detect JDK 1.6, which probably shouldn't really be used any more
2014-10-07 17:20:49 -07:00
ekatek
6a6bb529bb adding a var to make code style happy 2014-10-07 17:13:43 -07:00
Slava Kim
966431a479 Put accidentally removed cordova.checkIsValidPlugin method back 2014-10-07 16:30:05 -07:00
Slava Kim
b29b473e3a Fix android splash parsing 2014-10-07 16:30:05 -07:00
Justin SB
a824a86176 Clean up the messages to accurately reflect what we're installing 2014-10-07 16:19:09 -07:00
Justin SB
9d0f42a3ea Use /usr/libexec/java_home to detect JDK 2014-10-07 16:10:15 -07:00
Nick Martin
4aa895aa20 Tweak READMEs for built app bundles. 2014-10-07 16:09:20 -07:00
ekatek
192aeed694 move the call to setDebug into the same buildmessage that calls getPackageLoader to be safer about ensureDepsUpToDate 2014-10-07 16:07:25 -07:00
ekatek
58c3a355e4 allow velocity to search for debug-only packages 2014-10-07 15:55:50 -07:00
ekatek
e784341cf5 clean out the forProd option which we no longer use 2014-10-07 15:55:50 -07:00
ekatek
43eace5af8 allow publication of debugOnly packages 2014-10-07 15:55:50 -07:00
ekatek
0aab8e9683 adding the test package used by the debugOnly test 2014-10-07 15:55:50 -07:00
ekatek
e0414f2ed5 allow user to mark packages as debugOnly and not have them bundle in production mode
(still outstanding: changes to package publication workflow)

A package marked debugOnly in the package source is not to be bundled in production.
Moreover, if a package/app depends on a debugOnly package, that entire tree should
not be bundled. (But we should take it into account when figuring out versions!)

Does the following:

- In the catalog, we have a function that takes in a set of versions and a set of original
constraints and traverses it, recursively, to build a subset of versions that we *should*
bundle, and the corresponding subset of versions that we shouldn't (because they are either
debugOnly themselves or pulled in by debugOnly packages). (We do this in the catalog because
it is an addon onto the results of the constraint solver, tied deeply into our representation
of data)

- In the packageLoader, we keep track packages & versions that we should bundle, and also,
packages that we should exclude. We do this in the package-loader because, essentially, that's the
object that we use to keep the results of the constraint-solver, and we already propagate it to all
functions that care about it. (Possibly we should subsequently rename it later).

- In the compiler, when we figure out buildTimeDependencies, we ask if we need to bundle debug
builds. If not, we filter them out (see above). Also, when we actually build together unibuilds,
we don't touch the ones that the packageloader tells us to exclude (which ensures that they don't make
it into the final product).

- In the project, we keep track of whether this project is building in debug mode. That's because the project
is where we keep the state of our curent project that we are building, and if we are ever in the state of
building multiple things, then that's the code that we would need to touch (see also that we make a similar
assumption when solving constraints).

- Adds the option to keepthe project debug-build-free and calls it in commands when approporiate.
2014-10-07 15:55:50 -07:00
Justin SB
14f452e733 Oracle JDK 8 installs to yet another path 2014-10-07 15:49:56 -07:00
Emily Stark
a22a5a3341 Update 'bundler.bundle' comment 2014-10-07 15:46:45 -07:00
Avital Oliver
c19e133b8b Show progress bar when downloading a release prior to springboarding 2014-10-07 15:26:56 -07:00
Justin SB
c99d7d42a6 Call utils.sleepMs(1); during package resolution
This is a temporary fix; we should call it less often
2014-10-07 15:20:32 -07:00
Emily Stark
5d2bd77d96 Add newline to error message 2014-10-07 15:19:02 -07:00
Slava Kim
e32101edb1 For android splash screens, add a special attr in xml 2014-10-07 15:12:20 -07:00
Justin SB
d9b91417c0 Install android bundle first, so the not-installed messages appear at the bottom 2014-10-07 15:06:04 -07:00
Avital Oliver
18f36bd3c4 Add README for publishing mobile apps on meteor build
1. Add README files for both the ios/ and android/
   subdirectories of a build directory linking to a
   Wiki page with instructions on how to go through
   the publish process for both app stores.

2. To make the README file more visible in iOS projects,
   and to make the ios directory tree mirror the android
   one, place what used to go in <BUILD DIR>/ios/ into
   <BUILD DIR>/ios/project/. <BUILD DIR>/ios/ now only
   contains the README file.
2014-10-07 14:51:45 -07:00
Slava Kim
85a11d7ff9 Kill iOS simulator every time phonegap shell is redeployed
Fixes the "black screen" problem that users often see.
2014-10-07 14:36:07 -07:00
Justin SB
7410137077 The android tool requires Java 2014-10-07 14:21:28 -07:00
Justin SB
d83002cd64 We need a JDK, not a JVM
For jarsigner, needed to sign an app for the Play Store
2014-10-07 14:16:06 -07:00
Sashko Stubailo
a1f9d36836 Merge branch 'devel' of github.com:meteor/meteor into devel
Conflicts:
	docs/client/data.js
2014-10-07 13:46:27 -07:00
Sashko Stubailo
b9db774834 Fix broken links and release headline 2014-10-07 13:46:00 -07:00
David Glasser
f0155d2b3d Delete docs about wrap numbers and ECV
This sentence is about ECV but nothing else in the docs discusses ECV
and it doesn't use that term. So it's actually kind of confusing; to me,
it suggested that asking for `1.2.3_1` might give you `1.2.3`, which is
not true.
2014-10-07 11:45:52 -07:00
Justin SB
a9d32c722a Jump straight to anchor on wiki instruction page 2014-10-07 08:36:36 -07:00
Justin SB
6fd0b7f9da Try to collect the maximum set of missing components and install all we can 2014-10-07 08:36:36 -07:00
Justin SB
c1ea124ca0 Open URLs instead of trying to auto-install stuff 2014-10-07 08:36:36 -07:00
Slava Kim
08a0a59925 Workaround Phonegap's inability to distinguish when to rebuild the apk 2014-10-07 01:13:10 -07:00
Slava Kim
ea0f431cb3 Change AndroidManifest.xml's debuggable property based on mode 2014-10-07 00:27:58 -07:00
Slava Kim
497af45dd8 Whitespace 2014-10-06 23:27:07 -07:00
Slava Kim
13861d80e1 meteor build outputs apk 2014-10-06 23:26:55 -07:00
David Glasser
1779d62281 some packaging-related docs cleanups
also, add instructions to the top of docs.js
2014-10-06 21:50:00 -07:00
David Glasser
94ab470b2f fix test-packages and clarify utils.parseUrl docs 2014-10-06 21:18:51 -07:00
David Glasser
94cbba6dad Look at correct constraint field
Old:

  $ curmeteor add iron:router@9.9.9
  Got error during resolve; trying refresh { [Error: conflict: constraints on iron:router cannot be satisfied.
  Constraints come from:
    <top level>] constraintSolverError: true }
  Could not satisfy all the specified constraints:
  Error: conflict: constraints on iron:router cannot be satisfied.
  Constraints come from:
    <top level>

New:

  $ curmeteor add iron:router@9.9.9
  iron:router@9.9.9: no such version
2014-10-06 17:37:33 -07:00
David Glasser
7890b14e4e Allow dots in pre-release tag in release versions
We started calling our releases 0.9.3.1-rc.0 to match what you need to
do in semver to get proper numeric comparisons; let's make sure to
create orderKeys that work with them.
2014-10-06 17:01:51 -07:00
Justin SB
88a836383b Embolden commands users should run 2014-10-06 14:04:20 -07:00
Justin SB
e9a352f22c More buildmessage around installing cordova plugins 2014-10-06 13:57:12 -07:00
Justin SB
fb863f8602 If SDK is not installed when adding platform, prompt to install-sdk and add platform 2014-10-06 13:57:12 -07:00
Emily Stark
87bd6f87d5 Remove warning about --mobile-server.
We no longer need this because we have a decent default for
--mobile-server now.
2014-10-06 11:59:34 -07:00
Sashko Stubailo
da3cf01947 Merge branch 'devel' of github.com:meteor/meteor into devel 2014-10-06 11:55:47 -07:00
Justin SB
9f04fa28a6 Cleanup text around add-platform 2014-10-06 11:30:23 -07:00
Justin SB
5f0ffbfb10 Change --getready -> install-sdk <platform> 2014-10-06 11:09:26 -07:00