You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each sub-application has a .app defined in apps/APP_NAME/ebin/ but is otherwise typical for a rebar-driven project. I can generate a release well enough:
> relx
Starting relx build process ...
Resolving OTP Applications from directories:
/Users/blt/projects/com/rackspace/fire_engine/apps
/Users/blt/projects/com/rackspace/fire_engine/deps
/Users/blt/.kerl/installs/R15B03/lib
Resolving available releases from directories:
/Users/blt/projects/com/rackspace/fire_engine/apps
/Users/blt/projects/com/rackspace/fire_engine/deps
/Users/blt/.kerl/installs/R15B03/lib
Resolved fire_engine-2013.12
release successfully created!
I find that _rel/lib contains all the libraries it should:
After bumping the version in the fire_engine sub-application's app file to 2013.2, modifying relx.config to have a release target of 2013.13 and creating the following appup:
I find that creating a relup is not so successful:
> relx relup
Starting relx build process ...
Resolving OTP Applications from directories:
/Users/blt/projects/com/rackspace/fire_engine/apps
/Users/blt/projects/com/rackspace/fire_engine/deps
/Users/blt/.kerl/installs/R15B03/lib
/Users/blt/projects/com/rackspace/fire_engine/_rel
Resolving available releases from directories:
/Users/blt/projects/com/rackspace/fire_engine/apps
/Users/blt/projects/com/rackspace/fire_engine/deps
/Users/blt/.kerl/installs/R15B03/lib
/Users/blt/projects/com/rackspace/fire_engine/_rel
Resolved fire_engine-2013.13
Errors generating release
fire_engine: File not found: "fire_engine.app"
Usage: relx [-n <relname>] [-v <relvsn>] [-g <goal>] [-u <upfrom>]
[-o <output_dir>] [-l <lib_dir>]
[--disable-default-libs [<disable_default_libs>]]
[-V [<log_level>]] [-a <override_app>] [-c [<config>]]
[-r <root_dir>] [*release-specification-file*]
-n, --relname Specify the name for the release that will be
generated
-v, --relvsn Specify the version for the release
-g, --goal Specify a target constraint on the system. These
are usually the OTP
-u, --upfrom Only valid with relup target, specify the
release to upgrade from
-o, --output-dir The output directory for the release. This is
`./` by default.
-l, --lib-dir Additional dirs that should be searched for OTP
Apps
--disable-default-libs Disable the default system added lib dirs (means
you must add them all manually [default: false]
-V, --verbose Verbosity level, maybe between 0 and 2 [default:
1]
-a, --override_app Provide an app name and a directory to override
in the form <appname>:<app directory>
-c, --config The path to a config file [default: ]
-r, --root The project root directory
The relup was not generated, of course. Of particular concern is that _rel/lib/fire_engine-2013.1 has been deleted.
It seems that only the fire_engine sub-application was lost.
Problem summary:
creating a relup failed unexpectedly and
relup creation destroyed library required by a previously generated release.
I'd be happy to share any more information that might be useful. The project is proprietary but, if desired, I could try to make a minimal reproducing project and open-source that.
The text was updated successfully, but these errors were encountered:
I have a an application that I'm trying to introduce relx into. Here's the pertinent portion of my
relx.config
(I've extracted the overlays):Each sub-application has a .app defined in
apps/APP_NAME/ebin/
but is otherwise typical for a rebar-driven project. I can generate a release well enough:I find that
_rel/lib
contains all the libraries it should:and that
_rel/releases
looks sensible:After bumping the version in the
fire_engine
sub-application's app file to2013.2
, modifyingrelx.config
to have a release target of2013.13
and creating the following appup:I find that creating a relup is not so successful:
The relup was not generated, of course. Of particular concern is that
_rel/lib/fire_engine-2013.1
has been deleted.It seems that only the
fire_engine
sub-application was lost.Problem summary:
I'd be happy to share any more information that might be useful. The project is proprietary but, if desired, I could try to make a minimal reproducing project and open-source that.
The text was updated successfully, but these errors were encountered: