ElggConnect plug-in v0.1

  • @Pasley70 is that you can help the different members of the community, if it is possible to have the link to the creation APPS DESKTOP suitable with your plugin?

  • @Poycarpe (I hope I have understood you correctly) you can find the link to the github project with the source code of the plug-in and the app under "Plugin/project homepage" in the sidebar of this page. There you can find further informations in the readme files. I have described the links a little bit better on the plugin page.

    ElggConnect is a Java application that you can install on your computer. The source code (not the application) is available as open source - so you have to adjust and build the application by yourself for different platforms (PC, OSX, Linux). But you do not need in-depth knowledge of java and the necessary steps are described.

    The distribution of the application therefore is in the hands of the network manager / developer, which must also ensure that the plugin elgg_connect is installed and the core-plugin web_services is activated. Thus, the network manager is responsible for the correct operation of the app! (but hey, its your own app! ;-)

    Then the built application can be uploaded and offered in your network. For example via a special group in your network or as a download-link on a coop-Page.

    The idea behind ElggConnect is to stay in touch with the network, even if the the browser/site is not open at all. In particular, if you do not want to receive any email notifications.

  • @Pasley70

    I do not understand your message

    Here are the file information README.md: 

    # ElggConnect plug-in

    ElggConnect Desktop application requires the ElggConnect plug-in on your installation. The plugin provides web services for the application.

    ## Requirements

    - Elgg 1.9.x
    - Plug-in web_services is activated

    I asked just links to find the software to create desktop apps tailored to your plugin.

  • Please read the plugin description:

    [...] or direct on the desktop-app project:

    https://github.com/ElggConnect/ElggConnect

    In the readme-file of the application repository (not the plugin repository) you will find the requirements and further information.

  • @Pasley70

    Thank you for that link, I download the file and follow the instruction of the configuartion

    But when I run the application lacture

    gradlew.bat


    Software appears, then disappears, is that you have an idea to solve this situation, because I have everything configured according to the instruction given by this link: https://github.com/ElggConnect/ElggConnect

    Favorably

  • I use window 7
    Is this application works with the earlier Windows version?

  • Hi @Polycarpe

    the behavior you describe probably comes from a wrong url in the settings. Maybe you forgot a slash at the end of the URL?

    Can you post the console-output with the error messages here?

  • @Pasley70

    /src/main/resources/config/

    #
    # Copyright (c) 2015. , Beaufort 8
    # released under MIT License
    # http://opensource.org/licenses/MIT
    #

    # Required
    baseurl=http://example.tld/

    # Standard values for application window; change if desired
    appname=ElggConnect
    subline=Easy access to your Network
    image=/images/png/logo.png

    Change with 

    #
    # Copyright (c) 2015. , Beaufort 8
    # released under MIT License
    # http://opensource.org/licenses/MIT
    #

    # Required
    baseurl=http://maongezi.com/

    # Standard values for application window; change if desired
    appname=ElggConnect
    subline=Easy access to your Network
    image=/images/png/logo.png

    Link my website: http://maongezi.com

    Quand je fait la lecture de l'application 

    gradlew.bat

    When I read the application in the folder ElggConnect-master

    CMD console appears and disappears directly without showing the installation or icon for illustration of the desktop app elgg connect

    Voici le code complet 

    gradlew.bat

     

    @if "%DEBUG%" == "" @echo off
    @rem ##########################################################################
    @rem
    @rem  Gradle startup script for Windows
    @rem
    @rem ##########################################################################

    @rem Set local scope for the variables with windows NT shell
    if "%OS%"=="Windows_NT" setlocal

    @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
    set DEFAULT_JVM_OPTS=

    set DIRNAME=%~dp0
    if "%DIRNAME%" == "" set DIRNAME=.
    set APP_BASE_NAME=%~n0
    set APP_HOME=%DIRNAME%

    @rem Find java.exe
    if defined JAVA_HOME goto findJavaFromJavaHome

    set JAVA_EXE=java.exe
    %JAVA_EXE% -version >NUL 2>&1
    if "%ERRORLEVEL%" == "0" goto init

    echo.
    echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
    echo.
    echo Please set the JAVA_HOME variable in your environment to match the
    echo location of your Java installation.

    goto fail

    :findJavaFromJavaHome
    set JAVA_HOME=%JAVA_HOME:"=%
    set JAVA_EXE=%JAVA_HOME%/bin/java.exe

    if exist "%JAVA_EXE%" goto init

    echo.
    echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
    echo.
    echo Please set the JAVA_HOME variable in your environment to match the
    echo location of your Java installation.

    goto fail

    :init
    @rem Get command-line arguments, handling Windowz variants

    if not "%OS%" == "Windows_NT" goto win9xME_args
    if "%@eval[2+2]" == "4" goto 4NT_args

    :win9xME_args
    @rem Slurp the command line arguments.
    set CMD_LINE_ARGS=
    set _SKIP=2

    :win9xME_args_slurp
    if "x%~1" == "x" goto execute

    set CMD_LINE_ARGS=%*
    goto execute

    :4NT_args
    @rem Get arguments from the 4NT Shell from JP Software
    set CMD_LINE_ARGS=%$

    :execute
    @rem Setup the command line

    set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar

    @rem Execute Gradle
    "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%

    :end
    @rem End local scope for the variables with windows NT shell
    if "%ERRORLEVEL%"=="0" goto mainEnd

    :fail
    rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
    rem the _cmd.exe /c_ return code!
    if  not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
    exit /b 1

    :mainEnd
    if "%OS%"=="Windows_NT" endlocal

    :omega

    Is that there is an error which poses the installation problem in this code or not?

     

     

  • Do you execute "gradlew.bat run" in your terminal? I have made a few corrections in the readme file on github that describes the process in more detail.

    If the error "JAVA_HOME is set to an invalid directory: %JAVA_HOME%" occours again, please check this:

    Assuming that you have JDK installed in your program files directory then you need to set the JAVA_HOME like this:

    JAVA_HOME="C:\Program Files\Java\jdkxxx"
    xxx is the jdk version

    Follow this link to learn more about setting JAVA_HOME:

    http://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/index.html

  • @Pasley70

    If I understand correctly, you must install the Java SE application so that the setup works gradlew.bat correctemen?

    Or be shown me the link to download the Java application that will run this application gradlew.bat

    Requirements

    • A favorite text editor or IDE
    • Java SE Development Kit 8 (JDK) 1.8 or later
  • Yes. To run/build the application, you will need the JDK:

    http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

    and set the JAVA_HOME directory to the correct path (see link in my previous message).

    Gradle will be installed by itself - if required - and performs only the build process. To run your app for testing, execute "gradlew.bat run" in your command line tool. Or build your app with "gradlew.bat jfxDeploy".

Pasley70

Webdeveloper, Projektmanager at Beaufort8. Coffee addicted.

Stats

  • Category: Misc
  • License: Expat (MIT) License
  • Updated: 2015-6-18
  • Downloads: 591
  • Recommendations: 2

Other Projects

View Pasley70's plugins