**[NETBEANS-1170] Move profiler cluster**

Synced the repo with upstream to make sure everything is up to date
duplicate the repo folder and renamed to 
“incubator-netbeans-1170-move-profiler-cluster”

then created new branch for the work and checked out
```
git branch netbeans-1170-move-profiler-cluster
git checkout netbeans-1170-move-profiler-cluster
```

listed out the modules to be moved 
`ant print-selected-modules -Dnb.clusters.list=nb.cluster.profiler`

modules=
debugger.jpda.heapwalk,
lib.profiler,
lib.profiler.charts,
lib.profiler.common,
lib.profiler.ui,
maven.profiler,
profiler,
profiler.api,
profiler.attach,
profiler.freeform,
profiler.heapwalker,
profiler.j2se,
profiler.kit,
profiler.nbimpl,
profiler.nbmodule,
profiler.options,
profiler.oql,
profiler.oql.language,
profiler.ppoints,
profiler.projectsupport,
profiler.snaptracer,
profiler.utilities

As you can see, there is already a folder named profiler in the root folder. 
So, I had to perform some additional steps.

```
git mv profiler profiler-temp/
mkdir profiler
git mv profiler-temp profiler/profiler
```

then moved the other modules

```
git mv debugger.jpda.heapwalk profiler/
git mv lib.profiler profiler/
git mv lib.profiler.charts profiler/
git mv lib.profiler.common profiler/
git mv lib.profiler.ui profiler/
git mv maven.profiler profiler/
git mv profiler.api profiler/
git mv profiler.attach profiler/
git mv profiler.freeform profiler/
git mv profiler.heapwalker profiler/
git mv profiler.j2se profiler/
git mv profiler.kit profiler/
git mv profiler.nbimpl profiler/
git mv profiler.nbmodule profiler/
git mv profiler.options profiler/
git mv profiler.oql profiler/
git mv profiler.oql.language profiler/
git mv profiler.ppoints profiler/
git mv profiler.projectsupport profiler/
git mv profiler.snaptracer profiler/
git mv profiler.utilities profiler/
```

**[commit 
1](https://github.com/apache/incubator-netbeans/commit/74367dcd6f298790d3eee5bb3245b20c8a29d6b9)**
[NETBEANS-1170] Move profiler cluster-task-1
moving the modules to profiler folder

performed find & replace 

../nbbuild
with 
../../nbbuild

**[commit 
2](https://github.com/apache/incubator-netbeans/commit/8dc171196326abf11d14becd9dae2b383cf4abee)**
[NETBEANS-1170] Move profiler cluster-task-2
replace 
../nbbuild 
with 
../../nbbuild


and 

<project basedir="." default="build" name="
with
<project basedir="." default="build" name="profiler/


**[commit 
3](https://github.com/apache/incubator-netbeans/commit/bba572f3e70810941645e6bf5a833c4b0444a18b)**
[NETBEANS-1170] Move profiler cluster-task-3
replace
<project basedir="." default="build" name="
with
<project basedir="." default="build" name="profiler/


performed ant on root folder 
BUILD SUCCESSFUL
Total time: 8 minutes 53 seconds

then  ant clean build in each module of the cluster
BUILD SUCCESSFUL
was the output for all. 

ant tryme on root
opened the IDE successfully

tried creating a simple java application
prompted to enable java se
prompted to install nb-javac 
restarted itself for the installation of nb-javac

created “Hello Apache Netbeans!” app
executed successfully. 

did not notice any problem.  

Hope everything is fine. 



[ Full content available at: 
https://github.com/apache/incubator-netbeans/pull/765 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to