Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for myApp (0.15 sec)

  1. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/tasks/application/CreateStartScriptsTest.groovy

        }
    
        def scriptNameDefaultsToApplicationName() {
            task.outputDir = new File('output')
    
            when:
            task.applicationName = "myApp"
    
            then:
            task.unixScript == new File(task.outputDir, 'myApp')
            task.windowsScript == new File(task.outputDir, 'myApp.bat')
        }
    
        def optsEnvironmentVariableNameDefaultsToApplicationName() {
            when:
            task.applicationName = null
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/gateway-custom-ingressgateway-badport-notarget.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    metadata:
      name: httpbin-gateway
    spec:
      selector:
        myapp: private-ingressgateway
      servers:
      - port:
          number: 8004
          name: http2
          protocol: HTTP
        hosts:
        - "*"
    ---
    apiVersion: v1
    kind: Pod
    metadata:
      labels:
        myapp: private-ingressgateway
      name: my-ingressgateway-1234
    spec:
      containers:
        - args:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 08:48:06 UTC 2024
    - 653 bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/debugging.md

    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    но не вызывался, когда другой файл импортирует это, например:
    
    ```Python
    from myapp import app
    ```
    
    #### Больше деталей
    
    Давайте назовём ваш файл `myapp.py`.
    
    Если вы запустите его с помощью:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

            when:
            succeeds('startScripts')
    
            then:
            File unixStartScript = assertGeneratedUnixStartScript('myApp')
            unixStartScript.text == 'myApp start up script for UN*X'
            File windowsStartScript = assertGeneratedWindowsStartScript('myApp.bat')
            windowsStartScript.text == 'myApp start up script for Windows'
        }
    
        @Requires(UnitTestPreconditions.UnixDerivative)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/gateway-custom-ingressgateway-badport.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    metadata:
      name: httpbin-gateway
    spec:
      selector:
        myapp: private-ingressgateway
      servers:
      - port:
          number: 8004
          name: http2
          protocol: HTTP
        hosts:
        - "*"
    ---
    apiVersion: v1
    kind: Pod
    metadata:
      labels:
        myapp: private-ingressgateway
      name: my-ingressgateway-1234
    spec:
      containers:
        - args:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 08:48:06 UTC 2024
    - 674 bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/testdata/gateway-custom-ingressgateway-translation.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    metadata:
      name: httpbin-gateway
    spec:
      selector:
        myapp: private-ingressgateway
      servers:
      - port:
          number: 80
          name: http2
          protocol: HTTP
        hosts:
        - "*"
    ---
    apiVersion: v1
    kind: Pod
    metadata:
      labels:
        myapp: private-ingressgateway
      name: my-ingressgateway-1234
    spec:
      containers:
        - args:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 08:48:06 UTC 2024
    - 672 bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/debugging.md

    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    그러나 다음과 같이 다른 파일을 가져올 때는 호출되지 않습니다.
    
    ```Python
    from myapp import app
    ```
    
    #### 추가 세부사항
    
    파일 이름이 `myapp.py`라고 가정해 보겠습니다.
    
    다음과 같이 실행하면
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Python에 의해 자동으로 생성된 파일의 내부 변수 `__name__`은 문자열 `"__main__"`을 값으로 갖게 됩니다.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 04:18:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-application/src/main/java/org/gradle/api/tasks/application/CreateStartScripts.java

     * <p>
     * Example:
     * <pre class='autoTested'>
     * task createStartScripts(type: CreateStartScripts) {
     *   outputDir = file('build/sample')
     *   mainClass = 'org.gradle.test.Main'
     *   applicationName = 'myApp'
     *   classpath = files('path/to/some.jar')
     * }
     * </pre>
     * <p>
     * Note: the Gradle {@code "application"} plugin adds a pre-configured task of this type named {@code "startScripts"}.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/plugins/ApplicationPluginTest.groovy

            distZipTask.archiveFileName.get() == "SuperApp.zip"
        }
    
        void "executableDir is configurable"() {
            when:
            plugin.apply(project)
            project.applicationName = "myApp";
            project.executableDir = "custom_bin";
    
            then:
            def startScripts = project.tasks[ApplicationPlugin.TASK_START_SCRIPTS_NAME]
            startScripts.executableDir == "custom_bin"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-application/src/main/java/org/gradle/jvm/application/tasks/CreateStartScripts.java

     * <p>
     * Example:
     * <pre class='autoTested'>
     * task createStartScripts(type: CreateStartScripts) {
     *   outputDir = file('build/sample')
     *   mainClass = 'org.gradle.test.Main'
     *   applicationName = 'myApp'
     *   classpath = files('path/to/some.jar')
     * }
     * </pre>
     * <p>
     * Note: the Gradle {@code "application"} plugin adds a pre-configured task of this type named {@code "startScripts"}.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top